-
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
-