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

Broken build with -no-feature-filesystemwatcher

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      c39b6a4a44b852ee7219466f46022dec8b76eae4 (qt/qtdeclarative/5.12)

      Description

      If we add "-no-feature-filesystemwatcher" to disable filesystemwatcher the build is broken in "qmlpreview".

      + /home/andre/hg/libs/5.12/b/src/qt/qtbase/configure -top-level -debug -qml-debug -prefix /home/andre/hg/libs/5.12/dist -opensource -confirm-license -c++std c++11 -qt-zlib -no-mtdev -qt-libpng -qt-libjpeg -no-dbus -no-harfbuzz -qt-pcre -system-proxies -no-compile-examples -nomake examples -nomake tests -no-sql-sqlite -openssl-linked -I /[...]/5.12/dist/include -L /[...]/libs/5.12/dist/lib -no-feature-bearermanagement -no-feature-ftp -no-feature-paint_debug -no-feature-lcdnumber -no-feature-mdiarea -no-feature-calendarwidget -no-feature-colordialog -no-feature-cups -no-feature-dial -no-feature-fontcombobox -no-feature-fontdialog -no-feature-imageformat_bmp -no-feature-imageformat_ppm -no-feature-imageformat_xbm -no-feature-sharedmemory -no-feature-textodfwriter -no-feature-filesystemwatcher -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-undoview -no-feature-printer -no-feature-printdialog -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-splashscreen -no-feature-syntaxhighlighter -no-feature-dom -no-feature-sql -no-journald -no-directfb -no-linuxfb -no-libproxy -skip qtwebglplugin -skip qtscxml -skip qtxmlpatterns -skip qtwebchannel -skip qtwebengine -skip qtscript -skip qtactiveqt -skip qtlocation -skip qtserialbus -skip qtserialport -skip qtgamepad -skip qtvirtualkeyboard -skip qtcanvas3d -skip qtcharts -skip qtdatavis3d -skip qt3d -skip qtpurchasing -skip qtwayland -skip qtremoteobjects -skip qtspeech -skip qtwebview -skip multimedia -skip qtquickcontrols
      
      cd qmlpreview/ && ( test -e Makefile || /[...]/5.12/b/src/qt/qtbase/bin/qmake -o Makefile /[...]/5.12/b/src/qt/qtdeclarative/tools/qmlpreview/qmlpreview.pro ) && make -f Makefile 
      make[3]: Entering directory '/[...]/5.12/b/src/qt/qtdeclarative/tools/qmlpreview'
      g++ -c -pipe -g -Og -std=c++11 -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_QMLDEBUG_LIB -DQT_NETWORK_LIB -DQT_PACKETPROTOCOL_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtQmlDebug -I../../include/QtQmlDebug/5.12.0 -I../../include/QtQmlDebug/5.12.0/QtQmlDebug -I/[...]/5.12/b/src/qt/qtbase/include -I/[...]/5.12/b/src/qt/qtbase/include/QtNetwork -I../../include/QtPacketProtocol -I../../include/QtPacketProtocol/5.12.0 -I../../include/QtPacketProtocol/5.12.0/QtPacketProtocol -I/[...]/5.12/b/src/qt/qtbase/include/QtCore/5.12.0 -I/[...]/5.12/b/src/qt/qtbase/include/QtCore/5.12.0/QtCore -I/[...]/5.12/b/src/qt/qtbase/include/QtCore -I.moc -I/[...]/5.12/dist/include -I/[...]/5.12/b/src/qt/qtbase/mkspecs/linux-g++ -o .obj/main.o main.cpp
      In file included from /[...]/5.12/b/src/qt/qtbase/include/QtCore/qdebug.h:1,
                       from /[...]/5.12/b/src/qt/qtbase/include/QtNetwork/../../src/network/socket/qabstractsocket.h:47,
                       from /[...]/5.12/b/src/qt/qtbase/include/QtNetwork/qabstractsocket.h:1,
                       from ../../include/QtQmlDebug/5.12.0/QtQmlDebug/private/../../../../../src/qmldebug/qqmldebugconnection_p.h:44,
                       from ../../include/QtQmlDebug/5.12.0/QtQmlDebug/private/qqmldebugconnection_p.h:1,
                       from ../../include/QtQmlDebug/5.12.0/QtQmlDebug/private/../../../../../src/qmldebug/qqmlpreviewclient_p.h:56,
                       from ../../include/QtQmlDebug/5.12.0/QtQmlDebug/private/qqmlpreviewclient_p.h:1,
                       from qmlpreviewapplication.h:32,
                       from main.cpp:29:
      /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/io/qdebug.h: In member function 'void QDebug::Stream::setVerbosity(int)':
      /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/io/qdebug.h:99:42: warning: result of '(7 << 29)' requires 33 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
                       flags &= ~(VerbosityMask << VerbosityShift);
                                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
      In file included from /[...]/5.12/b/src/qt/qtbase/include/QtCore/qglobal.h:1,
                       from /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/global/qnamespace.h:43,
                       from /[...]/5.12/b/src/qt/qtbase/include/QtCore/qnamespace.h:1,
                       from /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:48,
                       from /[...]/5.12/b/src/qt/qtbase/include/QtCore/qobjectdefs.h:1,
                       from /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:46,
                       from /[...]/5.12/b/src/qt/qtbase/include/QtCore/qobject.h:1,
                       from ../../include/QtQmlDebug/5.12.0/QtQmlDebug/private/../../../../../src/qmldebug/qqmldebugclient_p.h:43,
                       from ../../include/QtQmlDebug/5.12.0/QtQmlDebug/private/qqmldebugclient_p.h:1,
                       from ../../include/QtQmlDebug/5.12.0/QtQmlDebug/private/../../../../../src/qmldebug/qqmlpreviewclient_p.h:55,
                       from ../../include/QtQmlDebug/5.12.0/QtQmlDebug/private/qqmlpreviewclient_p.h:1,
                       from qmlpreviewapplication.h:32,
                       from main.cpp:29:
      /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/io/qfilesystemwatcher.h: At global scope:
      /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:121:63: error: static assertion failed: Required feature filesystemwatcher for file /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/io/qfilesystemwatcher.h not available.
       #  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
                                                                     ^~~~~~~~~~~~~~~
      /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:87:36: note: in expansion of macro 'Q_STATIC_ASSERT_X'
       #define QT_REQUIRE_CONFIG(feature) Q_STATIC_ASSERT_X(QT_FEATURE_##feature == 1, "Required feature " #feature " for file " __FILE__ " not available.")
                                          ^~~~~~~~~~~~~~~~~
      /[...]/5.12/b/src/qt/qtbase/include/QtCore/../../src/corelib/io/qfilesystemwatcher.h:45:1: note: in expansion of macro 'QT_REQUIRE_CONFIG'
       QT_REQUIRE_CONFIG(filesystemwatcher);
      

        Attachments

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

          Activity

            People

            Assignee:
            liaqi Liang Qi
            Reporter:
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes