- Qbs Manual
- QbsModules
- installpaths
- Qbs 3.3.1

# installpaths

Provides properties for install directories. More...

Since: | Qbs 3.1

- List of all members, including inherited members

## Properties

- applications : string
- autotedect : string
- bin : string
- etc : string
- frameworks : string
- include : string
- lib : string
- libexec : string
- library : string
- loadableModules : string
- plugins : string
- share : string
- subdir : string

## 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: `"Library/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"`

loadableModules : string

The location where to install loadable modules (bundle plugins) on Apple platforms.

Default: `"Library/<ProjectName>/PlugIns"`

plugins : string

The location where to install plugins.

On Apple platforms, non-bundle loadable modules are also installed here.

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