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

qbspkgconfig generated wrong link order when merging dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • 1.23.1
    • Configuration Probes
    • None
    • f68c57aa2 (master)

      When merging dependencies by setting "qbspkgconfig.mergeDependencies: true" (which is the default) the link order might get scrambled.

      I used conan with its "PkgConfigDeps"-generator to generate ".pc"-files and fed these files to the qbspkgconfig module provider. In the generated modules the "cpp.dynamicLibraries" contained the libraries in the wrong order, e.g. '"fmt", "spdlog"' but spdlog should be linked before fmt.

      Setting "mergeDependencies" to "false" leads to the right library order.

        For Gerrit Dashboard: QBS-1710
        # Subject Branch Project Status CR V

            kandeler Christian Kandeler
            Psy-Kai Kai Dohmen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes