Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.5.9
-
None
Description
grpc/chat example fails to configure using command line
Steps to Reproduce:
- Build the example "grpc/chat" using command line
Actual Output:
Example fails to configure.
Expected Output:
Example should run without any issue.
Reproducibility: 100%
Error Logs:
CMake Error at CMakeLists.txt:13 (find_package): Found package configuration file: /Users/anurup/Qt/6.5.9/macos/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 "/Users/anurup/Qt/6.5.9/macos/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.
Configuring with --debug-find-pkg=Qt6Protobuf gives the logs:
Running with debug output on for the 'find' commands for package(s) Qt6=Qt6Protobuf. -- Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) CMake Warning at /Users/anurup/Qt/6.5.9/macos/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:68 (find_package): Found package configuration file: /Users/anurup/Qt/6.5.9/macos/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): /Users/anurup/Qt/6.5.9/macos/lib/cmake/Qt6Protobuf/Qt6ProtobufDependencies.cmake:34 (_qt_internal_find_tool_dependencies) /Users/anurup/Qt/6.5.9/macos/lib/cmake/Qt6Protobuf/Qt6ProtobufConfig.cmake:40 (include) /Users/anurup/Qt/6.5.9/macos/lib/cmake/Qt6/Qt6Config.cmake:167 (find_package) CMakeLists.txt:13 (find_package) CMake Warning at /Users/anurup/Qt/6.5.9/macos/lib/cmake/Qt6/Qt6Config.cmake:167 (find_package): Found package configuration file: /Users/anurup/Qt/6.5.9/macos/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: /Users/anurup/Qt/6.5.9/macos/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 "/Users/anurup/Qt/6.5.9/macos/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.