Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0 Beta2
-
8d190a38c (dev), 39a7a1a66 (6.8)
Description
Steps to reproduce:
- (have all needed QNX dependencies and license installed)
- install 6.8.0 beta2 QNX 7.1 binary via installer
- build grpc/vehicle example
source /opt/qnx710/qnxsdp-env.sh /home/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/bin/qt-cmake -GNinja -DCMAKE_MAKE_PROGRAM=/home/qt/RTA/Qt_6.8.0/Tools/Ninja/ninja -DCMAKE_BUILD_WITH_INSTALL_RPATH=on -DQT_CHAINLOAD_TOOLCHAIN_FILE=/home/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/qnx-toolchain-aarch64le.cmake cmake --build . --parallel cmake --install . --prefix . --config Debug
Expected result:
vehicle builds
Actual result:
Configure fails with:
-- The CXX compiler identification is QCC 8.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/qnx710/host/linux/x86_64/usr/bin/q++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Could NOT find Qt6ProtobufWellKnownTypes (missing: Qt6ProtobufWellKnownTypes_DIR) CMake Error at CMakeLists.txt:13 (find_package): Found package configuration file: /home/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/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 "ProtobufWellKnownTypes". Expected Config file at "/home/qt/RTA/Qt_6.8.0/6.8.0/qnx71_aarch64le/lib/cmake/Qt6ProtobufWellKnownTypes/Qt6ProtobufWellKnownTypesConfig.cmake" does NOT exist Configuring with --debug-find-pkg=Qt6ProtobufWellKnownTypes 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!