刚刚安装了 Qt 5.0.2(qt-windows-opensource-5.0.2-mingw47_32-x86-offline;这里我要对 IDE 的酷炫界面说“哇”),并在安装时遇到一个警告和一个错误尝试“运行”“盒子”示例:
Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c
This example requires Qt to be configured with -opengl desktop
在他们的维基中搜索但没有找到我应该做什么来修复它:(
有人想进一步了解这一点吗?
最佳答案
This example requires Qt to be configured with -opengl desktop
这是指在配置库构建时可以传递到 Qt 构建系统的 -opengl Desktop
配置选项。您确实安装了 Qt 的预编译版本,并且无法对其构建选项进行太多更改。您必须下载 Qt 源代码并根据您的配置需求构建它们。
关于qt - 如何使用 opengl dekstop 选项配置 Qt?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16157731/