[Qbs] Strange error with QBS 1.22.1 on Android

Christian Kandeler christian.kandeler at qt.io
Wed May 25 09:45:33 CEST 2022

On 5/24/22 22:53, Alberto Mardegan wrote:
> It came from this:
>     cpp.defines: product.embedAsResource ? "STATIC_PLUGINS" : ""
> Changing the "" to a [] fixes the issue. Do you think that this 
> handling of "" could be considered a QBS bug?

More like a quality-of-implementation issue. In general, we don't want 
too much "smartness" and second-guessing user choices, but in this 
particular case we know that -D by itself is not valid and can prevent 
that (with a diagnostic).


More information about the Qbs mailing list