[Qbs] Breaking change in qbs 3.1 (?)

Christian Kandeler christian.kandeler at qt.io
Thu Oct 16 17:34:50 CEST 2025


On 10/16/25 4:54 PM, Orgad Shaneh wrote:
> Hi,
>
> I have the following property:
>      qbs.installPrefix: pluginInstallPrefix
>
> I've noticed that my libraries are installed in {qbs.installPrefix}/bin.
> With previous versions of qbs they were installed directly in installPrefix.
>
> To fix this, I needed to add this:
>      config.install.dynamicLibrariesDirectory: ""
>
> But this is not compatible with older versions of qbs:
>    Item 'config.install' is not declared. Did you forget to add a Depends
> item?
>
> Is there a portable fix?
Shouldn't you be able to overwrite qbs.installDir directly?
Or perhaps just set installDir if you are in e.g. a DynamicLibrary sub item?

Christian


More information about the Qbs mailing list