-
Task
-
Resolution: Done
-
P2: Important
-
None
-
1.9.0
-
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
}
- relates to
-
QBS-1105 How to support adding pkg-config dependencies to a product
-
- Closed
-
| For Gerrit Dashboard: QBS-1187 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 246259,10 | Doc: Add information about PathProbe | master | qbs/qbs | Status: MERGED | +2 | 0 |
| 246858,10 | Doc: Add information about BinaryProbe | master | qbs/qbs | Status: MERGED | +2 | 0 |
| 246861,7 | Doc: Add information about FrameworkProbe | master | qbs/qbs | Status: MERGED | +2 | 0 |
| 252891,7 | Doc: Add information about PkgConfigProbe | 1.13 | qbs/qbs | Status: MERGED | +2 | 0 |
| 253088,3 | Doc: Add a bit more info on the Probes page | 1.13 | qbs/qbs | Status: MERGED | +2 | 0 |
| 253092,4 | Doc: Add documention about IncludeProbe | 1.13 | qbs/qbs | Status: MERGED | +2 | 0 |