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

PkgConfigProbe does not work properly when setting version

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.13.0
    • 1.12.2
    • Dependency Tracking
    • None
    • Linux Mint 18.3
    • All
    • 27d9bc85aa5eb2aa717fdc909cb2104cad0d3334 (qbs/qbs/1.13)

    Description

      The following code

      cpp.includePaths: myLibraryLib.includePaths
      
      PkgConfigProbe {
          id: myLibraryLib
          name: "myLibrary"
          minVerison: "1.0.0"
      }
      

      does not work. The problem is that PkgConfigProbe calls pkg-config with:

      pkg-config --atleast-version=1.0.0 myLibrary --cflags
      

      The parameter "atleast-version" and "cflags" are mutually exclusive.

      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:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes