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

Fix protobuf issues

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes