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

PkgConfigProbe does not work properly when setting version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.12.2
    • Fix Version/s: 1.13.0
    • Component/s: Dependency Tracking
    • Labels:
      None
    • Environment:
      Linux Mint 18.3

      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

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            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