Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-115483

Docs: Ensure that users aware of necessity of linking between gRPC and Protobuf libraries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • 6.6.0
    • 6.5
    • GRPC, Protocol Buffers
    • None
    • 3
    • Foundation Sprint 89

    Description

      If users generate two different libraries for Protobuf and gRPC parts that requires explicit linking of the Protobuf target to the gRPC one:

      qt_add_protobuf(proto_messages
           PROTO_FILES
               some_service.proto
      )
      
      qt_add_grpc(proto_client CLIENT
           PROTO_FILES
               some_service.proto
      )
      
      target_link_libraries(proto_client PUBLIC proto_messages)
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kokujawa Konrad Kujawa (Inactive)
            semlanik Alexey Edelev
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes