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

Problem compiling Qt 5.2 stable with MinGW 4.8.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.2.0 Alpha
    • GUI: OpenGL
    • None

    Description

      Someone already posted this on pastebin, and I was able to reproduce the problem.... unintentionally. See http://pastebin.com/VWvWx5tH

      In file included from ..\..\include/QtGui/qopenglversionfunctions.h:1:0,
                       from ..\..\include/QtGui/../../src/gui/kernel/qopenglcontext.h:63,
                       from ..\..\include/QtGui/qopenglcontext.h:1,
                       from ..\..\include\QtGui/../../src/gui/opengl/qopenglfunctions.h:57,
                       from ..\..\include\QtGui/qopenglfunctions.h:1,
                       from ..\..\include\QtGui/QOpenGLFunctions:1,
                       from kernel\qplatformopenglcontext.cpp:44:
      ..\..\include/QtGui/../../src/gui/opengl/qopenglversionfunctions.h:785:43: error: expected unqualified-id before ')' token
           void (QOPENGLF_APIENTRYP MemoryBarrier)(GLbitfield barriers);
                                                 ^
      mingw32-make[4]: *** [.obj/debug_shared/qplatformopenglcontext.o] Error 1
      mingw32-make[3]: *** [debug-all] Error 2

      Problem did not appear with MinGW 4.8.0 Rev 2. Happens with shadow build and "in place" build.

      Attachments

        Issue Links

          Activity

            People

              sletta Gunnar Sletta
              alexl Alexander Lanin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: