Missing include when compiling QT with Visual Studio 2010

后端 未结 4 1017
忘掉有多难
忘掉有多难 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条回答
  •  梦毁少年i
    2021-02-10 13:51

    When migrating form VS2008 to VS2010 (Win7) I had the same error message regarding "GLES2/gl2.h.

    The solution was to add

    \include\QtANGLE

    to the "AdditionIncludeDirectory" parameter in the project properties.

    QtANGLE is an alternative to the opengl graphics library as far as I know.

    So it seems, that you don't have to build Qt from scratch on windows but you can use the precompiled version. At least not because of the present topic.

提交回复
热议问题