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

Qt5 don't build without openGL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.0.0 Beta 2
    • Fix Version/s: 5.0.0 Beta 2
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Environment:
      Qt5, Windows
    • Commits:
      7e819386283c2ef7f0af1fc9eec6cf7227aa1524

      Description

      When I try compil the last Qt5 from git without OpenGL I have:
      mingw32-make[3]: Entering directory 'C:/Users/user/Desktop/qt5-64/qtbase/src/gui'
      mingw32-make -f Makefile.Debug all
      mingw32-make[4]: Entering directory 'C:/Users/user/Desktop/qt5-64/qtbase/src/gui'
      g++ -c -include tmp\obj\debug_shared\qt_gui_pch.h -pipe -fno-keep-inline-dllexport -g -Wall -Wextra -fno-exceptions -fno-rtti -DUNICODE -DQT
      _NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILD
      ER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_USE_BUNDLED_LIBPNG -DQT_OPENGL_ES_2 -DQT_OPENGL
      _ES_2_ANGLE -DQT_DLL -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -DQT_NO_DYNAMIC_CAST -I. -I"..\..\include" -I"..\..\include\QtGui" -I"..\..\include\Qt
      Gui\5.0.0" -I"..\..\include\QtGui\5.0.0\QtGui" -I"tmp" -I"image" -I"..\3rdparty\libpng" -I"..\3rdparty\zlib" -I"..\3rdparty\harfbuzz\src" -I
      "..\3rdparty\zlib" -I"..\..\include\QtCore" -I"..\..\include\QtCore\5.0.0" -I"..\..\include\QtCore\5.0.0\QtCore" -I"tmp\moc\debug_shared" -I
      "..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\qplatformopenglcontext.o kernel\qplatformopenglcontext.cpp
      kernel\qplatformopenglcontext.cpp:87:5: error: 'QOpenGLContext' does not name a type
      kernel\qplatformopenglcontext.cpp: In constructor 'QPlatformOpenGLContextPrivate::QPlatformOpenGLContextPrivate()':
      kernel\qplatformopenglcontext.cpp:85:39: error: class 'QPlatformOpenGLContextPrivate' does not have any field named 'context'
      kernel\qplatformopenglcontext.cpp: At global scope:
      kernel\qplatformopenglcontext.cpp:90:1: error: 'QPlatformOpenGLContext' does not name a type
      kernel\qplatformopenglcontext.cpp:95:1: error: 'QPlatformOpenGLContext' does not name a type
      kernel\qplatformopenglcontext.cpp:104:1: error: 'GLuint' does not name a type
      kernel\qplatformopenglcontext.cpp:109:1: error: 'QOpenGLContext' does not name a type
      kernel\qplatformopenglcontext.cpp:115:6: error: 'QPlatformOpenGLContext' has not been declared
      kernel\qplatformopenglcontext.cpp:115:41: error: variable or field 'setContext' declared void
      kernel\qplatformopenglcontext.cpp:115:41: error: 'QOpenGLContext' was not declared in this scope
      kernel\qplatformopenglcontext.cpp:115:57: error: 'context' was not declared in this scope
      kernel\qplatformopenglcontext.cpp:121:6: error: 'QPlatformOpenGLContext' has not been declared
      Makefile.Debug:20476: recipe for target 'tmp/obj/debug_shared/qplatformopenglcontext.o' failed
      mingw32-make[4]: *** [tmp/obj/debug_shared/qplatformopenglcontext.o] Error 1

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            alpha_one_x86 BRULE Herman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes