Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.1
-
None
-
035fbd068 (dev), b942110a4 (6.9), fefaf8227 (6.8), 103296a70 (tqtc/lts-6.5), f881e06dd (dev), df5c9259a (6.9), 500983b29 (6.8), 1bbaf2ddf (tqtc/lts-6.5)
Description
Our CI mounts Qt 6 because the current versions are not available via the package management and the MaintanceTool is difficult to access via the CI. For this reason, we currently integrate Qt in this way:
- Docker call with -v /jenkins/dependencies/Qt:/Qt
- Environment variable: Qt6_DIR=/Qt/6.8.1/gcc_64
This results in:
CMake Warning at /usr/share/cmake-3.30/Modules/CMakeFindDependencyMacro.cmake:76 (find_package): By not providing "FindQt6QmlTools.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt6QmlTools", but CMake did not find one. Could not find a package configuration file provided by "Qt6QmlTools" (requested version 6.8.1) with any of the following names: Qt6QmlToolsConfig.cmake qt6qmltools-config.cmake Add the installation prefix of "Qt6QmlTools" to CMAKE_PREFIX_PATH or set "Qt6QmlTools_DIR" to a directory containing one of the above files. If "Qt6QmlTools" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /Qt/6.8.1/gcc_64/lib/cmake/Qt6QuickTools/Qt6QuickToolsDependencies.cmake:12 (find_dependency) /Qt/6.8.1/gcc_64/lib/cmake/Qt6QuickTools/Qt6QuickToolsConfig.cmake:36 (include) /Qt/6.8.1/gcc_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:97 (find_package) /Qt/6.8.1/gcc_64/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:38 (_qt_internal_find_tool_dependencies) /Qt/6.8.1/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:43 (include) /Qt/6.8.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:181 (find_package) CMakeLists.txt:26 (find_package) CMake Warning at /Qt/6.8.1/gcc_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:97 (find_package): Found package configuration file: /Qt/6.8.1/gcc_64/lib/cmake/Qt6QuickTools/Qt6QuickToolsConfig.cmake but it set Qt6QuickTools_FOUND to FALSE so package "Qt6QuickTools" is considered to be NOT FOUND. Reason given by package: Qt6QuickTools could not be found because dependency Qt6QmlTools could not be found. Call Stack (most recent call first): /Qt/6.8.1/gcc_64/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:38 (_qt_internal_find_tool_dependencies) /Qt/6.8.1/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:43 (include) /Qt/6.8.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:181 (find_package) CMakeLists.txt:26 (find_package) CMake Warning at /Qt/6.8.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:181 (find_package): Found package configuration file: /Qt/6.8.1/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to be NOT FOUND. Reason given by package: Qt6Quick could not be found because dependency Qt6QuickTools could not be found. Configuring with --debug-find-pkg=Qt6QuickTools might reveal details why the package was not found. Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package. Call Stack (most recent call first): CMakeLists.txt:26 (find_package) CMake Error at CMakeLists.txt:26 (find_package): Found package configuration file: /Qt/6.8.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find required Qt component "Quick". Expected Config file at "/Qt/6.8.1/gcc_64/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake" exists Configuring with --debug-find-pkg=Qt6Quick might reveal details why the package was not found. Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package.
CMake trace attached, where cmake call was extended by: -DCMAKE_FIND_DEBUG_MODE=ON -DQT_DEBUG_FIND_PACKAGE=ON --trace-expand
Attachments
For Gerrit Dashboard: QTBUG-132340 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
613667,9 | Adopt the Qt dependencies lookup mechanism for tools dependencies | dev | qt/qtbase | Status: MERGED | +2 | 0 |
614816,2 | Adopt the Qt dependencies lookup mechanism for tools dependencies | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
614866,2 | Adopt the Qt dependencies lookup mechanism for tools dependencies | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
614896,2 | Adopt the Qt dependencies lookup mechanism for tools dependencies | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
615116,7 | Split the tool dendencies lookup to Qt and 3rd party | dev | qt/qtbase | Status: MERGED | +2 | 0 |
615657,2 | Split the tool dendencies lookup to Qt and 3rd party | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
616048,2 | Split the tool dendencies lookup to Qt and 3rd party | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
616928,2 | Split the tool dendencies lookup to Qt and 3rd party | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |