读书人

qt5没法编译例子hellogl

发布时间: 2013-06-26 14:29:32 作者: rapoo

qt5无法编译例子hellogl
刚装的qt5
下面是错误信息:
Project WARNING: Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c
Project ERROR: This example requires Qt to be configured with -opengl desktop

win7 64位,qt5,mingw4.7.2 qt Qt5 opengl
[解决办法]

引用:
Quote: 引用:

你下opengl的,你这个是angle的

不太懂,opengl的从哪下

http://mirrors.ustc.edu.cn/qtproject/official_releases/qt/5.0/5.0.2/qt-windows-opensource-5.0.2-msvc2010_32_opengl-x86-offline.exe
[解决办法]
自己编译Qt5,configure阶段使用-opengl desktop 参数。

读书人网 >QT开发

热点推荐