installpaths

Provides properties for install directories. More...

Since: Qbs 3.1

Properties

Detailed Description

The installpaths module contains properties indicating directories where files should be installed to in a manner allowing distributors to make necessary adjustments.

Example usage:

qbs modules.installPaths.libexec:lib64/libexec

Note: On Debian-like Linux distributions, this module also provides some convenience auto-detection mechanism using the dpkg-architecture tool: If installPaths::autotedect is true, Qbs will query the library paths from the system.

Property Documentation

applications : string

The location where to install applictaton bundles on Apple platforms.

Default: "Applications"


autotedect : string

Whether to try autodetecting paths using system tools.

This property has an effect only on Debian-like Linux systems.

Default: false


bin : string

The location where to install binaries.

Default: "bin"


etc : string

The location where to install configs.

Default: "etc"


frameworks : string

The location where to install Frameworks on Apple platforms.

Default: "Frameworks"


include : string

The location where to install include files.

Default: "include"


lib : string

The location where to install libraries.

Default: "lib"


libexec : string

The location where to install additional executables.

Default: "libexec/" + subdir


library : string

The location where to install support files on Apple platforms.

Default: "Library"


plugins : string

The location where to install plugins.

Default: lib + "/" + subdir + "/plugins"


share : string

The location where to install resources.

Default: "share/" + subdir


subdir : string

The additional directory appended to the libexec, share and plugins paths.

Default: lower-case Project.name


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