Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7, 6.8
-
None
-
2d19f09b5 (dev), cd93a8dc8 (6.7), a98390457 (tqtc/lts-6.5)
Description
CMake 3.29 doesn't generate the PACKAGE_PREFIX_DIR anymore in Config.cmake files, but configure-time syncqt still relies on PACKAGE_PREFIX_DIR in the Qt6CoreToolsAdditionalTargetInfo.cmake. We should replace the PACKAGE_PREFIX_DIR with the reverse calculated one.
Steps to reproduce with CMake versions >= 3.29
mkdir build_qtbase cd buid_qtbase path-to/qt6/qtbase/configure -developer-build -nomake tests -nomake examples ninja cd .. mkdir build_qt<module_name> cd build_qt<module_name> ../build_qtbase/bin/qt-configure-module path-to/qt6/qt<module_name>
Attachments
For Gerrit Dashboard: QTBUG-124186 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
553537,6 | Avoid using PACKAGE_PREFIX_PATH for configure-time executables | dev | qt/qtbase | Status: MERGED | +2 | 0 |
554194,2 | Avoid using PACKAGE_PREFIX_PATH for configure-time executables | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
555659,4 | Avoid using PACKAGE_PREFIX_PATH for configure-time executables | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |