Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1663

Fix protobuf issues

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • General
    • None
    • 1772df50a (2.2), aa044048f (2.2)

      Several problems pop up periodically from different users who try to use protobuf modules:

      • it is not possible to use protobuf library built as a Product
      • it is not possible to use protobuf library detected via pkg-config
      • it is not possible to use protobuf library shipped with Conan
      • it is not possible to use protoc shipped with Conan
      • it is not possible to use protobuf with MSYS out-of the box since library is located in custom search paths

      Currently, protobuf modules are implemented in that way that they contain a bunch of properties pointing to the library location and the location of the "protoc" binary.
      This approach appeared to be very fragile and not extendable - the module got too complicated over the time as it (poorly) tries to do the job of the "manual" module provider.
      The solution would be to deprecate these properties in favour of dependency on the module(s) generated by module providers - e.g. on "libprotobuf" and "protoc" modules.

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

            Unassigned Unassigned
            arch Ivan Komissarov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes