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

dialogs/qprintdialog_unix.cpp:1218:26: error: invalid use of incomplete type "class QDebug"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.11.0 Alpha
    • 5.11.0 Alpha
    • None
    • Linux openSUSE_42_3 (gcc-x86_64) - DeveloperBuild, NoPch, AbortTestingOnFirstFailure
      Linux openSUSE_42_3 (icc_18-x86_64) - DeveloperBuild, NoPch, DisableTests, SystemSQLite, AbortTestingOnFirstFailure
    • a79d9da8e0bbc69053d00dd1ff1dd55c47258291

    Description

      https://codereview.qt-project.org/#/c/215030/ Merge remote-tracking branch 'origin/5.10' into dev

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1515575799

      https://testresults.qt.io/coin/api/results/qt/qtbase/5a3aae19225ea88713ce60e4b46569752f637dc0/LinuxopenSUSE_42_3x86_64LinuxopenSUSE_42_3x86_64GCCqtci-linux-openSUSE-42.3-x86_64-634cefDeveloperBuild_NoPch/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/build_1515575902/log.txt.gz

      https://testresults.qt.io/coin/api/results/qt/qtbase/5a3aae19225ea88713ce60e4b46569752f637dc0/LinuxopenSUSE_42_3x86_64LinuxopenSUSE_42_3x86_64ICC_18qtci-linux-openSUSE-42.3-x86_64-634cefDeveloperBuild_NoPch_DisableTests_SystemSQLite/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/build_1515575907/log.txt.gz

      g++ -c -pipe -g -Og -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_OPENGL_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_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtOpenGL -I../../include/QtOpenGL/5.11.0 -I../../include/QtOpenGL/5.11.0/QtOpenGL -isystem /usr/include/libdrm -I../../include/QtWidgets/5.11.0 -I../../include/QtWidgets/5.11.0/QtWidgets -I../../include/QtGui/5.11.0 -I../../include/QtGui/5.11.0/QtGui -I../../include/QtCore/5.11.0 -I../../include/QtCore/5.11.0/QtCore -I../../include/QtWidgets -I../../include/QtGui -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/moc_qgl.o .moc/moc_qgl.cpp
      dialogs/qprintdialog_unix.cpp: In member function ‘virtual QVariant QPPDOptionsModel::data(const QModelIndex&, int) const’:
      dialogs/qprintdialog_unix.cpp:1218:26: error: invalid use of incomplete type ‘class QDebug’
                       qWarning() << "Current application style returned a null icon for SP_MessageBoxWarning.";
                                ^
      In file included from ../../include/QtCore/qlogging.h:1:0,
                       from ../../include/QtCore/../../src/corelib/global/qglobal.h:1183,
                       from ../../include/QtCore/qglobal.h:1,
                       from ../../mkspecs/linux-g++/qplatformdefs.h:45,
                       from dialogs/qprintdialog_unix.cpp:40:
      ../../include/QtCore/../../src/corelib/global/qlogging.h:57:7: note: forward declaration of ‘class QDebug’
       class QDebug;
             ^~~~~~
      Makefile:8788: recipe for target '.obj/qprintdialog_unix.o' failed
      make[2]: *** [.obj/qprintdialog_unix.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      

      Attachments

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

        Activity

          People

            iamsergio Sergio Martins
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes