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

Introduce a QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH variable

    XMLWordPrintable

Details

    • 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

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

          Activity

            People

              jbornema Joerg Bornemann
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: