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

qtbase FTBFS without OpenGL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.3.0 Alpha
    • GUI: OpenGL
    • None
    • ./configure -opensource -shared -no-openvg -nomake tools -nomake examples -no-sql-sqlite -qt-xcb -no-opengl

    Description

      Hi,

      is not possible build from sources if the "-no-opengl" flag is set. The problem is the function "QOpenGLFunctions" is used, but is an opengl function (not declared with the -no-opengl flag).
      The problem is in the file src/platformsupport/eglconvenience/qeglconvenience.cpp

      g++ -c -include .pch/Qt5PlatformSupport -pipe -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c+0x -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_CAST_FROM_ASCII -DMESA_EGL_NO_X11_HEADERS -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQ_FONTCONFIGDATABASE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../mkspecs/linux-g+ -I. -isystem /usr/include/freetype2 -I../3rdparty/atspi2 -Ilinuxaccessibility -I../../include -I../../include/QtPlatformSupport -I../../include/QtPlatformSupport/5.3.0 -I../../include/QtPlatformSupport/5.3.0/QtPlatformSupport -isystem /usr/include/libdrm -I../../include/QtGui/5.3.0 -I../../include/QtGui/5.3.0/QtGui -I../../include/QtDBus -I../../include/QtGui -I../../include/QtCore/5.3.0 -I../../include/QtCore/5.3.0/QtCore -I../../include/QtCore -I.moc -o .obj/qeglconvenience.o eglconvenience/qeglconvenience.cpp
      eglconvenience/qeglconvenience.cpp: In member function ‘void* QEglConfigChooser::chooseConfig()’:
      eglconvenience/qeglconvenience.cpp:248:14: error: ‘QOpenGLFunctions’ has not been declared
      if (!QOpenGLFunctions::isES())
      ^
      eglconvenience/qeglconvenience.cpp: In function ‘QSurfaceFormat q_glFormatFromConfig(EGLDisplay, EGLConfig, const QSurfaceFormat&)’:
      eglconvenience/qeglconvenience.cpp:364:18: error: ‘QOpenGLFunctions’ has not been declared
      && !QOpenGLFunctions::isES()
      ^
      make[2]: *** [.obj/qeglconvenience.o] Error 1

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-37172
          # Subject Branch Project Status CR V

          Activity

            People

              lagocs Laszlo Agocs
              kix Rodolfo García Peñas (kix)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes