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

Document PkgConfigProbe (and other Probes)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 1.9.0
    • Documentation
    • None

      There exists a Probe to link against using existing libraries using pkg-config. This should be documented both in the reference , as well as in http://doc.qt.io/qbs/howtos.html#how-do-i-make-my-app-build-against-my-library

      From pkgconfig.qbs

          CppApplication {
              name: project.name
              Probes.PkgConfigProbe {
                  id: pkgConfig
                  name: "QtCore"
                  minVersion: '4.0.0'
                  maxVersion: '5.99.99'
              }
              files: 'main.cpp'
              cpp.cxxFlags: pkgConfig.cflags
              cpp.linkerFlags: pkgConfig.libs
          }
      

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

            kandeler Christian Kandeler
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes