error: undefined reference to `_imp__glFlush@0
原因:新版QT中缺乏opengl的库。
解决方法:
在.pro文件中加入下面代码:
LIBS+=-lopengl32 -lglu32
error: undefined reference to `_imp__glFlush@0
原因:新版QT中缺乏opengl的库。
解决方法:
在.pro文件中加入下面代码:
LIBS+=-lopengl32 -lglu32