Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8
-
None
-
5
Description
qt6_add_protobuf(my_target ... OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/app ) qt6_add_grpc(my_target CLIENT ... )
The above code fails with:
Cannot find source file: path/to/build/dir/my_target_gen_exports.qpb.h
This happens because qt6_add_protobuf(my_target call stores the exports file name but not the full/relative path to a file.