Results 1 to 2 of 2

Thread: Qt5 + VS2012 Add-In = QtWidgets compilation problem

  1. #1
    Join Date
    Feb 2011
    Posts
    354
    Thanks
    17
    Thanked 27 Times in 24 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Qt5 + VS2012 Add-In = QtWidgets compilation problem

    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:

    Qt Code:
    1. 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
    To copy to clipboard, switch view to plain text mode 

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

  2. #2
    Join Date
    Oct 2013
    Location
    Kiev, UA
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt5 + VS2012 Add-In = QtWidgets compilation problem

    Have same problem.
    I fixed it by adding one more include path into project - $(QTDIR)\include\QtANGLE.

Similar Threads

  1. VS add-in will not install in VS2012
    By astodolski in forum Qt Tools
    Replies: 3
    Last Post: 24th May 2017, 06:36
  2. Qt5 VS2012 build error
    By tuli in forum Installation and Deployment
    Replies: 4
    Last Post: 28th October 2013, 00:33
  3. Problems with QtPropertyBrowser and VS2012
    By QtNewbieNeedsHelp in forum Newbie
    Replies: 3
    Last Post: 19th August 2013, 10:07
  4. Problem adding a " Default Qt/Win version " - Qt5.0.2 vs2012 add-in
    By bitWarrior in forum Installation and Deployment
    Replies: 1
    Last Post: 10th June 2013, 00:50
  5. Build qt 4.8.3 with openssl with VS2012
    By Edder in forum Installation and Deployment
    Replies: 1
    Last Post: 12th December 2012, 18:08

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.