PDA

View Full Version : Qt5 + VS2012 Add-In = QtWidgets compilation problem



mentalmushroom
5th September 2013, 13:53
Hello, I recently downloaded and installed Qt 5.1.1 for Windows 32-bit (VS 2012, 511 MB) and Visual Studio Add-in 1.2.2 for Qt5. Now I am trying to create a simple GUI project. If I include QtWidgets in the project, it gives the following compilation error:


C:\Qt\5.1.1\5.1.1\msvc2012\include\QtGui/qopengl.h(82): fatal error C1083: Cannot open include file: 'GLES2/gl2.h': No such file or directory

It doesn't seem to happen when a project is created via qmake. Could somebody explain what is wrong?

uaf
9th October 2013, 17:55
Have same problem.
I fixed it by adding one more include path into project - $(QTDIR)\include\QtANGLE.