[Qbs] Breaking change in qbs 3.1 (?)

Orgad Shaneh orgads at gmail.com
Thu Oct 16 19:55:20 CEST 2025


Hi,

On Thu, Oct 16, 2025 at 6:36 PM Christian Kandeler via Qbs <
qbs at qt-project.org> wrote:

> 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?


I tried `qbs.installDir` and it didn't work. `installDir` (without `qbs.`)
works well.

Thank you!

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20251016/d9fc0339/attachment.htm>


More information about the Qbs mailing list