Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.8.0
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.