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

Assistant build doesn't disabled even when configured with "-nomake tools"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.0 Alpha
    • Tools: Assistant
    • None
    • Mageia Linux Cauldron x86_64, GCC 5.4.0

    Description

      I have Qt 5.9 bit branch and configured it with the following command:

      ~/Development/qt5/qtbase/configure -prefix ~/Development/qt5.9_git -developer-build -opensource -confirm-license -no-pch -skip qtwebkit -skip qtwebkit-examples -skip qt3d -skip qtxmlpatterns -skip qtwayland -skip qtwebengine -skip qtwebview -skip qtmultimedia -skip qtlocation -skip qtcanvas3d -skip qtwebsockets -skip qtwebchannel -skip qtenginio -skip qtsensors -skip qtserialport -skip qtpurchasing -skip qtquick1 -skip qtscript -skip qtconnectivity -skip qtcharts -skip qtdatavis3d -skip qtgamepad -skip qtvirtualkeyboard -skip qtscxml -skip qtremoteobjects -skip qtspeech -skip qtnetworkauth -no-feature-bearermanagement -no-feature-colordialog -no-feature-columnview -no-feature-commandlinkbutton -no-feature-cssparser -no-feature-cups -no-feature-datawidgetmapper -no-feature-dial -no-feature-dockwidget -no-feature-fontdialog -no-feature-ftp -no-feature-imageformat_bmp -no-feature-itemviews -no-feature-lcdnumber -no-feature-listview -no-feature-listwidget -no-feature-mdiarea -no-feature-mimetype -no-feature-movie -no-feature-pdf -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-qml-network -no-feature-quick-designer -no-feature-quick-flipable -no-feature-quickcontrols2-universal -no-feature-tableview -no-feature-tablewidget -no-feature-textodfwriter -no-feature-treeview -no-feature-treewidget -no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-undoview -no-feature-wizard -no-feature-xmlstreamwriter -nomake examples -nomake tests -nomake tools

      I've got compilation failures of the Assistant due to a missing classes:

      make[4]: Entering directory '/mnt/store/Development/build_qt5.9_git/qttools/src/assistant/help'
      g++ -c -pipe -g -Og -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -DQHELP_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_HELP_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_SQL_LIB -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -Wall -Wextra -Werror -Woverloaded-virtual -Wshadow -Wundef -Wfloat-equal -Wnon-virtual-dtor -Wpointer-arith -Wformat-security -Wno-long-long -Wno-variadic-macros -pedantic-errors -Wchar-subscripts -Wold-style-cast -Wcast-align -Wdouble-promotion -Wzero-as-null-pointer-constant -I/mnt/store/Development/qt5/qttools/src/assistant/help -I. -I../../../include -I../../../include/QtHelp -I../../../include/QtHelp/5.9.0 -I../../../include/QtHelp/5.9.0/QtHelp -I/mnt/store/Development/build_qt5.9_git/qtbase/include/QtCore/5.9.0 -I/mnt/store/Development/build_qt5.9_git/qtbase/include/QtCore/5.9.0/QtCore -I/mnt/store/Development/build_qt5.9_git/qtbase/include -I/mnt/store/Development/build_qt5.9_git/qtbase/include/QtWidgets -I/mnt/store/Development/build_qt5.9_git/qtbase/include/QtGui -I/mnt/store/Development/build_qt5.9_git/qtbase/include/QtSql -I/mnt/store/Development/build_qt5.9_git/qtbase/include/QtCore -I/mnt/store/Development/build_qt5.9_git/qtbase/include/QtNetwork -I.moc -isystem /usr/include/libdrm -I/mnt/store/Development/qt5/qtbase/mkspecs/linux-g++ -DQT_NO_CAST_TO_ASCII=1 -DQT_NO_CAST_FROM_ASCII=1 -DQT_STRICT_ITERATORS -DQT_NO_URL_CAST_FROM_STRING=1 -DQT_NO_CAST_FROM_BYTEARRAY=1 -DQT_NO_KEYWORDS=1 -DQT_USE_QSTRINGBUILDER -DQT_USE_FAST_OPERATOR_PLUS -Dsignals=int -Dslots=int -Demit=public: -Dforeach=public: -Dforever=public: -xc++ /mnt/store/Development/qt5/qttools/src/assistant/help/qhelpcontentwidget.h -o .obj/header_qhelpcontentwidget.o
      /mnt/store/Development/qt5/qttools/src/assistant/help/qhelpcontentwidget.h:114:1: error: expected class-name before '{' token
       {
       ^
      /mnt/store/Development/qt5/qttools/src/assistant/help/qhelpcontentwidget.h:113:20: error: 'class QHelpContentWidget' has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
       class QHELP_EXPORT QHelpContentWidget : public QTreeView
                          ^
      cc1plus: all warnings being treated as errors
      Makefile:1166: recipe for target '.obj/header_qhelpcontentwidget.o' failed
      

      But this shouldn't happen, because I explicitly disabled the tools.

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            krnekit Nikita Krupenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes