[Qbs] qbs.defaultBuildVariant declaration has no effect
Orgad Shaneh
orgads at gmail.com
Fri Oct 17 13:04:27 CEST 2025
Sorry, this is my fault. I moved something from the product to the project
and it references defaultBuildVariant (which is declared in the product).
- Orgad
On Fri, Oct 17, 2025 at 1:30 PM Christian Kandeler via Qbs <
qbs at qt-project.org> wrote:
> On 10/17/25 10:52 AM, Orgad Shaneh wrote:
> > Hi,
> >
> > I've noticed another change in qbs behavior.
> >
> > I have products that declare qbs.defaultBuildVariant: "release"
> >
> > DynamicLibrary {
> > Depends { name: "cpp" }
> > qbs.defaultBuildVariant: "release"
> > // ...
> > }
> >
> > Then I run qbs resolve and qbs build without overriding
> > defaultBuildVariant, and I expect it to be release.
> >
> > This worked with previous versions of qbs, but with 3.0 it defaults to
> > debug.
> I cannot reproduce that. A library specified as above is built with
> release flags.
>
>
> Christian
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20251017/ded4cca1/attachment.htm>
More information about the Qbs
mailing list