Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
6.2
-
e044c94a61 (qt/qtbase/dev) e044c94a61 (qt/tqtc-qtbase/dev) 73b37c656e (qt/qtbase/6.3) bdccb6882d (qt/qtbase/6.2) bdccb6882d (qt/tqtc-qtbase/6.2) 73b37c656e (qt/tqtc-qtbase/6.3) bdccb6882d (qt/tqtc-qtbase/6.2.4)
Description
In https://codereview.qt-project.org/c/qt/qtbase/+/315463
the QT_ADDITIONAL_PACKAGES_PREFIX_PATH variable was introduced as a way to find Qt CMake packages which were installed into different directories, rather than one unified Qt install prefix.
This was needed for Conan builds where each Conan package was installed into a separate directory.
That variable is not enough to allow finding host QtFooTools packages, if each host Qt package is not in a unified location.
There is various code in qtbase that manipulates the value of CMAKE_FIND_ROOT_PATH to allow such packages to be found from a non-sysroot dir, but all that code assumes that all host packages are located in a single directory.
That code should be modified to allow specifying multiple additional host package prefixes similar to QT_ADDITIONAL_PACKAGES_PREFIX_PATH above.
We could do that via a new QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH variable.
Attachments
Issue Links
- is duplicated by
-
QTBUG-99716 Implement 'QT_ADDITIONAL_HOST_PREFIX_PATH' for Conan cross-compilations
- Closed
- relates to
-
QTBUG-95854 QT_ADDITIONAL_PACKAGES_PREFIX_PATH ignored on certain cross-compilations
- Closed
-
QTBUG-86882 Packages installed with Conan can not be found via find_package(Qt6 COMPONENTS) method
- Closed
-
QTBUG-93565 Unnecessary dependency to host Tools package in cross-builds
- Closed
-
QTBUG-95602 App wizard QtQuick Empty with language failed to find Qt component "LinguisticTools"
- Closed