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

Qt build fails because of FEATURE_xmlstream

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.1
    • Build System: CMake
    • None
    • Ubuntu 22

      5.15.0-53-generic

    • Linux/X11

    Description

      I want build minimalistic qtbase. I try to make minimalistic configuretion (see toolchain_host.cmake ). When I try

      set(FEATURE_xmlstream OFF)
      set(FEATURE_xmlstreamreader OFF)
      set(FEATURE_xmlstreamwriter OFF)

      I can't build Qt. Qt build system allow me configure, but I get error while building, see log_xml_error.txt.

       

      I suggest Qt build team add some error message at configuration time.

       

      My build script is:

       

      git clone https://github.com/qt/qt5 qt5
      cd qt5
      git checkout 6.4.1
      perl init-repository –module-subset=qtbase
      cd ../build_host
      ../qt5/configure -release -static -opensource -nomake examples -nomake tests -confirm-license -no-pch -no-xcb -no-xcb-xlib -no-gtk -skip webengine -skip qtwayland -skip qtdoc -skip qtgraphicaleffects -skip qtqa -skip qttranslations -skip qtvirtualkeyboard -skip qtquicktimeline -skip qtquick3d -skip qt3d -skip qtrepotools -skip qttools -skip qtimageformats -skip qtnetworkauth -skip qtwebsockets -skip qtactiveqt -skip qtmacextras -skip winextras -skip qtmultimedia -skip qtgamepad -skip qtserialbus -skip qtspeech -skip qtsensors -skip qtcharts -skip qtlocation -no-ssl -platform linux-g++-32 -prefix ../build_artifacts_host -- -DCMAKE_TOOLCHAIN_FILE=/home/a/QtFromGit/toolchain_host.cmake
      cmake --build . --parallel
      cmake --install .
      

      see also toolchain_host.cmake

      see also log_xml_error.txt

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            dungeonlords Andrei Cherniaev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes