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

qbspkgconfig generated wrong link order when merging dependencies

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes