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

Build fails without cssparser feature

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9.0
    • None

    Description

      When built with -DFEATURE_cssparser=OFF build fails like this

       

      FAILED: qttools/src/assistant/help/CMakeFiles/Help.dir/qhelpsearchresultwidget.cpp.o 
      /usr/bin/ccache /usr/bin/c++ -DHelp_EXPORTS -DQHELP_LIB -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_HELP_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_NO_STD_FORMAT_SUPPORT -DQT_SQL_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qttools/src/assistant/help/Help_autogen/include -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include/QtHelp -I/mnt/packages/git_repos/dpkg/qt-android/qttools/src/assistant/help -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qttools/src/assistant/help -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include/QtHelp/6.9.0 -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include/QtHelp/6.9.0/QtHelp -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include/QtCore -I/mnt/packages/git_repos/dpkg/qt-android/qtbase/mkspecs/linux-g++ -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include/QtGui -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include/QtSql -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include/QtWidgets -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/src/corelib -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include/QtCore/6.9.0 -I/mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qtbase/include/QtCore/6.9.0/QtCore -isystem /mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qttools/src/assistant/help/.qt/0f8c24 -isystem /mnt/packages/git_repos/dpkg/qt-android/debian/build-host/qttools/src/assistant/help/.qt/22e0f4 -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fPIC -U_FORTIFY_SOURCE -Wsuggest-override -fcf-protection=full -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fstack-protector-strong -fstack-clash-protection -fno-exceptions -MD -MT qttools/src/assistant/help/CMakeFiles/Help.dir/qhelpsearchresultwidget.cpp.o -MF qttools/src/assistant/help/CMakeFiles/Help.dir/qhelpsearchresultwidget.cpp.o.d -o qttools/src/assistant/help/CMakeFiles/Help.dir/qhelpsearchresultwidget.cpp.o -c /mnt/packages/git_repos/dpkg/qt-android/qttools/src/assistant/help/qhelpsearchresultwidget.cpp
      /mnt/packages/git_repos/dpkg/qt-android/qttools/src/assistant/help/qhelpsearchresultwidget.cpp: In member function 'void QResultWidget::setLinkColor(const QColor&)':
      /mnt/packages/git_repos/dpkg/qt-android/qttools/src/assistant/help/qhelpsearchresultwidget.cpp:40:21: error: 'class QTextDocument' has no member named 'setDefaultStyleSheet'
         40 |         document()->setDefaultStyleSheet(sheet);
            |                     ^~~~~~~~~~~~~~~~~~~~
      /mnt/packages/git_repos/dpkg/qt-android/qttools/src/assistant/help/qhelpsearchresultwidget.cpp: In member function 'void QResultWidget::showResultPage(const QList<QHelpSearchResult>&, bool)':
      /mnt/packages/git_repos/dpkg/qt-android/qttools/src/assistant/help/qhelpsearchresultwidget.cpp:78:9: error: 'setHtml' was not declared in this scope
         78 |         setHtml(htmlFile);
            |         ^~~~~~~
      
       

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            ban F S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes