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 < [email protected]> 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 > [email protected] > https://lists.qt-project.org/listinfo/qbs >
_______________________________________________ Qbs mailing list [email protected] https://lists.qt-project.org/listinfo/qbs
