@@ -409,7 +409,7 @@ You can integrate QtProtobuf as submodule in your project or as installed in sys
```cmake
...
-find_package(QtProtobuf CONFIG REQUIRED COMPONENTS Protobuf Grpc)
+find_package(QtProtobuf CONFIG REQUIRED COMPONENTS ProtobufGenerator Protobuf Grpc)
file(GLOB PROTO_FILES ABSOLUTE ${CMAKE_CURRENT_SOURCE_DIR}/path/to/protofile1.proto
${CMAKE_CURRENT_SOURCE_DIR}/path/to/protofile2.proto
@@ -35,7 +35,7 @@
* Add following line in your CMakeLists.txt to add QtProtobuf as project dependency:
*
* \code
- * find_package(QtProtobuf COMPONENTS Protobuf Grpc REQUIRED)
+ * find_package(QtProtobuf COMPONENTS ProtobufGenerator Protobuf Grpc REQUIRED)
* ...
* target_link_libraries(clienttutorial PRIVATE QtProtobuf::Grpc QtProtobuf::Protobuf)
* \endcode
@@ -69,7 +69,7 @@
* To enable Qt types support add ProtobufQtTypes as dependency to CMake project:
- * find_package(QtProtobuf CONFIG COMPONENTS Protobuf ProtobufQtTypes REQUIRED)
+ * find_package(QtProtobuf CONFIG COMPONENTS ProtobufGenerator Protobuf ProtobufQtTypes REQUIRED)
* ... #After target creation
* target_link_libraries(${TARGET} PRIVATE ${QT_PROTOBUF_NAMESPACE}::ProtobufQtTypes)