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

Reply via email to