Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.9.0 Beta2
-
edce4936b (dev), d215f16cb (6.9), fffcb5054 (6.8)
Description
When trying to build any OpcUa application against Boot to Qt 6.9.0 beta2 toolchain building fails with:
-- Could NOT find Qt6OpcUaTools (missing: Qt6OpcUaTools_DIR) CMake Warning at /home/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/cmake/Qt6/Qt6Config.cmake:207 (find_package): Found package configuration file: /home/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/cmake/Qt6OpcUa/Qt6OpcUaConfig.cmake but it set Qt6OpcUa_FOUND to FALSE so package "Qt6OpcUa" is considered to be NOT FOUND. Reason given by package: Qt6OpcUa could not be found because dependency Qt6OpcUaTools could not be found. Configuring with --debug-find-pkg=Qt6OpcUaTools 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:17 (find_package) CMake Error at CMakeLists.txt:17 (find_package): Found package configuration file: /home/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/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 "OpcUa". Expected Config file at "/home/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx8qm-mek/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr/lib/cmake/Qt6OpcUa/Qt6OpcUaConfig.cmake" exists Configuring with --debug-find-pkg=Qt6OpcUa 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. -- Configuring incomplete, errors occurred!