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

[macOS] Configuring universal host build fails to find Qt6::qmltime host tool

    XMLWordPrintable

Details

    • macOS

    Description

      Configuring universal host build on macOS fails to the following error:

      CMake Error at qtbase/cmake/QtToolHelpers.cmake:751 (message):
      Failed to find the host tool "Qt6::qmltime". It is part of the Qt6QmlTools
      package, but the package did not contain the tool. Make sure that the host
      module Qml was built with all features enabled (no explicitly disabled
      tools).

      The following steps can be used to reproduce the issue:

      1: Download source for qt 6.8.0.
      2. Create a folder named 'build'
      3. Run configure command for host build.
      ../qt-everywhere-src-6.8.0/configure -commercial -release -static -prefix /opt/qt6.8-host
      4. cmake and installation worked fine till now.
      5. Now try to build qt with dual architectures. Created another folder build-universal.
      6. From build-universal folder run : ../qt-everywhere-src-6.8.0/configure – -DQT_HOST_PATH="/opt/qt6.8-host" -DCMAKE_OSX_ARCHITECTURES=x86_64;arm64 -commercial -release -static -prefix /opt/qt6.8-universal

       

      It seems it is unable to use the one it would build to support the one it wants to build for and it already works for moc, uic etc, but for some reason not this tool.

       

      Attached also the full configure output.

      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
            tiheikka Titta Heikkala
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes