Qbs Manual

Qbs 1.13.1

# pkgconfig QML Type

Allows to configure the pkg-config tool. More...

Import Statement: | import QbsModules .
Since: | Qt 1.13

- List of all members, including inherited members

## Properties

- executableFilePath : string
- libDirs : stringList
- staticMode : bool

## Detailed Description

The `pkgconfig` module is used to fine-tune the behavior of the `pkg-config` tool, which is potentially employed when looking up dependencies.

## Property Documentation

executableFilePath : string

The path to the `pkg-config` executable.

Default: auto-detected

libDirs : stringList

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.

Default: Undefined

staticMode : bool

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.

Default: `false`