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

configure -qt-host-path / -DQT_HOST_PATH does not verify host tool version

    XMLWordPrintable

Details

    Description

      I had an older snapshot of Qt 6.10 installed and used it as a source of -qt-host-path. Until qdbusxml2cpp learned the -namespace option and qtbase started to use it. configure went through, but the build then failed with

      [2/823] Generating deviceeventcontroller_adaptor.h, deviceeventcontroller_adaptor.cpp
      FAILED: src/gui/deviceeventcontroller_adaptor.h src/gui/deviceeventcontroller_adaptor.cpp /home/marc/Qt/qtbase-submit-build/src/gui/deviceeventcontroller_adaptor.h /home/marc/Qt/qtbase-submit-build/src/gui/deviceeventcontroller_adaptor.cpp 
      cd /home/marc/Qt/qtbase-submit-build/src/gui && /d/Qt/6.10.0/gcc_64/bin/qdbusxml2cpp -i QtGui/private/qspi_struct_marshallers_p.h --namespace QtGuiPrivate -a deviceeventcontroller_adaptor.h:deviceeventcontroller_adaptor.cpp /home/marc/Qt/qtbase-submit/src/gui/accessible/linux/dbusxml/DeviceEventController.xml
      qdbusxml2cpp: Unknown option 'namespace'.
      

      Expected behaviour: configure checks the host-tools and complains if they're too old.

      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
            mmutz Marc Mutz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes