When no messages are presented in .proto file following example craches on compilation (test.proto):
import "google/protobuf/empty.proto";
package MyPackage;
service MyService {
rpc Check(google.protobuf.Empty) returns (google.protobuf.Empty) {}
}
CMakeLists.txt:
qt_add_grpc(testlib CLIENT PROTO_FILES test.proto )