Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.8.4
-
None
Description
The example grpc/vehicle failed to build for android through CLI.
Command used for building:
C:\Qt\6.8.4\android_arm64_v8a\bin\qt-cmake -S C:\Qt\Examples\Qt-6.8.4\grpc\vehicle -B C:\Qt\Examples\Qt-6.8.4\grpc\vehicle\build -DANDROID_SDK_ROOT=C:\Users\AnurupJalota\AppData\Local\Android\Sdk -DANDROID_NDK_ROOT=C:\Users\AnurupJalota\AppData\Local\Android\Sdk\ndk\27.2.12479018 -GNinja
Error:
CMake Warning at C:/Qt/6.8.4/android_arm64_v8a/lib/cmake/Qt6/Qt6Config.cmake:219 (find_package): Found package configuration file: C:/Qt/6.8.4/android_arm64_v8a/lib/cmake/Qt6ProtobufWellKnownTypes/Qt6ProtobufWellKnownTypesConfig.cmake but it set Qt6ProtobufWellKnownTypes_FOUND to FALSE so package "Qt6ProtobufWellKnownTypes" is considered to be NOT FOUND. Reason given by package: Qt6ProtobufWellKnownTypes lacks the following protobuf schemas: google/protobuf/any.proto google/protobuf/api.proto google/protobuf/duration.proto google/protobuf/empty.proto google/protobuf/field_mask.proto google/protobuf/source_context.proto google/protobuf/struct.proto google/protobuf/timestamp.proto google/protobuf/type.proto google/protobuf/wrappers.proto Please check your protobuf installation and ensure the missing schemas are in the CMake find paths. If you use a custom protobuf installation point to its location in protobuf_ROOT, Protobuf_ROOT, protobuf_DIR or Protobuf_DIR environment or cache variables.Call Stack (most recent call first): CMakeLists.txt:13 (find_package) CMake Error at CMakeLists.txt:13 (find_package): Found package configuration file: C:/Qt/6.8.4/android_arm64_v8a/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 "C:/Qt/6.8.4/android_arm64_v8a/lib/cmake/Qt6ProtobufWellKnownTypes/Qt6ProtobufWellKnownTypesConfig.cmake" exists 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!
Even though Protobuf is installed,
C:\Users\AnurupJalota>protoc --version libprotoc 29.3
Host machine: Windows 11
Attachments
Issue Links
- relates to
-
QTQAINFRA-7261 Qt LTS release testing
-
- Open
-