Description
Install Qt 6.5.0 beta3 gcc binaries, include QtGRPC to installation.
Run configure on protobuf/sensors:
/home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/bin/qt-cmake -S /home/joaijala/RTA/Qt_6.5.0/Examples/Qt-6.5.0/protobuf/sensors -B /home/joaijala/RTA/Qt_6.5.0/Examples/Qt-6.5.0/protobuf/sensors/bld -GNinja
Fails:
-- The CXX compiler identification is GNU 11.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - 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 Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) CMake Warning at /home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:65 (find_package): Found package configuration file: /home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6ProtobufTools/Qt6ProtobufToolsConfig.cmake but it set Qt6ProtobufTools_FOUND to FALSE so package "Qt6ProtobufTools" is considered to be NOT FOUND. Reason given by package: Qt6ProtobufTools could not be found because dependency WrapProtoc could not be found. Call Stack (most recent call first): /home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6Protobuf/Qt6ProtobufDependencies.cmake:34 (_qt_internal_find_tool_dependencies) /home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6Protobuf/Qt6ProtobufConfig.cmake:40 (include) /home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package) CMakeLists.txt:13 (find_package) CMake Warning at /home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package): Found package configuration file: /home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6Protobuf/Qt6ProtobufConfig.cmake but it set Qt6Protobuf_FOUND to FALSE so package "Qt6Protobuf" is considered to be NOT FOUND. Reason given by package: Qt6Protobuf could not be found because dependency Qt6ProtobufTools could not be found. Configuring with --debug-find-pkg=Qt6ProtobufTools 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:13 (find_package) CMake Error at CMakeLists.txt:13 (find_package): Found package configuration file: /home/joaijala/RTA/Qt_6.5.0/6.5.0/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 "Protobuf". Expected Config file at "/home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6Protobuf/Qt6ProtobufConfig.cmake" exists Configuring with --debug-find-pkg=Qt6Protobuf 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.
Adding the --debug-find-pkg=Qt6Protobuf adds following prints:
Call Stack (most recent call first):
CMakeLists.txt:13 (find_package)
CMake Debug Log at /home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package):
The internally managed CMAKE_FIND_PACKAGE_REDIRECTS_DIR.
/home/joaijala/RTA/Qt_6.5.0/Examples/Qt-6.5.0/protobuf/sensors/bld/CMakeFiles/pkgRedirects
Paths specified by the find_package HINTS option.
none
Paths specified by the find_package PATHS option.
/home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake
find_package considered the following locations for Qt6Protobuf's Config
module:
/home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6ProtobufConfig.cmake
/home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/qt6protobuf-config.cmake
/home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6ProtobufTools/Qt6ProtobufConfig.cmake
/home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6ProtobufTools/qt6protobuf-config.cmake
/home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6Protobuf/Qt6ProtobufConfig.cmake
The file was found at
/home/joaijala/RTA/Qt_6.5.0/6.5.0/gcc_64/lib/cmake/Qt6Protobuf/Qt6ProtobufConfig.cmake