Missing include when compiling QT with Visual Studio 2010

后端 未结 4 985
忘掉有多难
忘掉有多难 2021-02-10 13:23

I try to compile QT 5.0.0 in the command prompt of Visual Studio 2010 on Windows 7, 64bit. The process itself is known and described here and here. On my machine, compilation st

4条回答
  •  时光说笑
    2021-02-10 13:46

    Have you tried looking at this link?

    http://qt-project.org/wiki/Building-Qt-5-from-Git

    Windows Windows Graphics Drivers

    QML2 requires OpenGL 2.1 or higher or Open GL ES 2.0 to work.

    In Windows, two options are available:

    Use the ANGLE-library [code.google.com] to translate OpenGL calls into DirectX (default)
    Use the native OpenGL driver for your graphics card
    

    A copy of ANGLE is bundled in Qt 5. To use Option 1, you need to install the DirectX SDK [msdn.microsoft.com] (Note: Starting from Windows Kit 8, this is included in the Windows SDK).

    To use Option 2, you need to ensure that your graphics card driver supports OpenGL 2.1 or higher (Note: The stock Windows driver only supports OpenGL 1.1, which is insufficient), and pass `-opengl desktop’ to configure.exe.

提交回复
热议问题