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

Document PkgConfigProbe (and other Probes)

    XMLWordPrintable

Details

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

    Description

      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
          }
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes