Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28315

Qt should fail at configure time if gl compilation will fail.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.0
    • 5.0.0
    • Build System
    • None
    • Windows
    • b35ea875a12e89661f370df7e91c4791234aaa44

    Description

      qplatformservices.cpp
      qplatformscreenpageflipper.cpp
      qplatformsystemtrayicon_qpa.cpp
      qplatformopenglcontext.cpp
      c:\qtdev\qtbase-build\include\qtgui\../../../qtbase/src/gui/opengl/qopengl.h(55)
       : fatal error C1083: Cannot open include file: 'GLES2/gl2.h': No such file or d
      irectory
      qopenglcontext.cpp
      c:\qtdev\qtbase-build\include\qtgui\../../../qtbase/src/gui/opengl/qopengl.h(55)
       : fatal error C1083: Cannot open include file: 'GLES2/gl2.h': No such file or d
      irectory
      Generating Code...
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
      \VC\BIN\cl.EXE"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
      \VC\BIN\nmake.EXE"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      

      When I compile in my Windows vm, I get this, and then I have to reconfigure with '-opengl desktop'. This is very inconvenient, especially on Windows.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            stephen.kelly Stephen Kelly (Unused account) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes