sas*_*alm 9 windows qt build visual-studio-2008 qt5
我正在学习使用Visual Studio 2008作为编译器在Windows上编译Qt 5的本教程.
跑步时configure.bat我收到警告 -The build will most likely fail.
这是完整的命令:
configure -developer-build -opensource -nomake examples -nomake tests
Run Code Online (Sandbox Code Playgroud)
这是configure.bat输出的摘录:
Running configuration tests...
WARNING: The DirectX SDK could not be detected:
There is no Direct X SDK installed or the environment variable "DXSDK_DIR" is
not set.
Disabling the ANGLE backend.
WARNING: Using OpenGL ES 2.0 without ANGLE.
Specify -opengl desktop to use Open GL.
The build will most likely fail.
Run Code Online (Sandbox Code Playgroud)
我该怎么做才能避免这种警告?我应该指定-opengl,还是应该安装Direct X SDK?
编辑
构建(我跑nmake)确实失败抱怨GLES2/gl2.h缺少:
c:\workspace\qt5source\qt5\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(82) : fatal error C1083: Cannot open include file: 'GLES2/gl2.h': No such file or directory
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5372 次 |
| 最近记录: |