Allows to configure the pkg-config tool. More...
pkgconfig module is used to fine-tune the behavior of the
pkg-config tool, which is potentially employed when looking up dependencies.
Set this if you need to overwrite the default search directories. The values given here will be forwarded to the tool via the
PKG_CONFIG_LIBDIR environment variable.
Note: You do not need to set this for cross-compilation in order to point
pkg-config to the sysroot. Qbs does that for you.
If this property is
true, then calls to
pkg-config will include the
--static option. Set this if your product is to be linked statically.
This property controls the value of the PkgConfigProbe.sysroot property.
Set this property if you need to overwrite the default search sysroot path used by
This can be useful if
pkg-config files are located in the directory other than qbs.sysroot. This is the case on macOS platform - all XCode profiles are sysrooted to the SDK directory, but
pkg-config is typically intalled using Brew and resides in the
Setting this property to
undefined or empty (
"") value will use pkg-config's default search paths:
qbs build modules.pkgconfig.sysroot:undefined
"" on macOS,
qbs.sysroot on other platforms
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.