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

qt-5.7 compile failure in case of -no-opengl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6
    • 5.7
    • None
    • openSUSE 13.2 (x86_64)
    • 9e85986fd09f0b46dea1ad6e4626a426b5cc469d

    Description

      qtbase compile failure in case configured without opengl, e.g.:

      $ configure -no-opengl -qt-xcb
      $ make
      [...]
      make[2]: Entering directory '/home/seiderer/Work/qt-build/qt5/build-qt-5.7-no-opengl/src/widgets'
      g++ -c -include .pch/Qt5Widgets -pipe -O2 -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_ANDROID -DQT_BUILD_WIDGETS_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 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/home/seiderer/Work/qt-build/qt5/qtbase/src/widgets -I. -I/home/seiderer/Work/qt-build/qt5/qtbase/src/widgets/dialogs -I../../include -I../../include/QtWidgets -I../../include/QtWidgets/5.7.1 -I../../include/QtWidgets/5.7.1/QtWidgets -I.uic -I../../include/QtGui/5.7.1 -I../../include/QtGui/5.7.1/QtGui -I../../include/QtCore/5.7.1 -I../../include/QtCore/5.7.1/QtCore -I../../include/QtGui -I../../include/QtCore -I.moc -I/home/seiderer/Work/qt-build/qt5/qtbase/mkspecs/linux-g++ -o .obj/qwidgetbackingstore.o /home/seiderer/Work/qt-build/qt5/qtbase/src/widgets/kernel/qwidgetbackingstore.cpp
      In file included from ../../include/QtCore/qglobalstatic.h:1:0,
                       from ../../include/QtCore/../../../qtbase/src/corelib/global/qglobal.h:1146,
                       from ../../include/QtCore/qglobal.h:1,
                       from /home/seiderer/Work/qt-build/qt5/qtbase/src/widgets/kernel/qt_widgets_pch.h:50:
      /home/seiderer/Work/qt-build/qt5/qtbase/src/widgets/kernel/qwidgetbackingstore.cpp: In function '{anonymous}::Q_QGS_qt_dummy_platformTextureList::Type* {anonymous}::Q_QGS_qt_dummy_platformTextureList::innerFunction()':
      ../../include/QtCore/../../../qtbase/src/corelib/global/qglobalstatic.h:87:18: error: field 'value' has incomplete type
                   Type value;                                         \
                        ^
      

      Attachments

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

        Activity

          People

            p_seiderer Peter Seiderer
            p_seiderer Peter Seiderer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes