[Qbs] Strange error with QBS 1.22.1 on Android

Alberto Mardegan mardy at users.sourceforge.net
Tue May 24 22:53:12 CEST 2022


On 24/05/22 23:31, Alberto Mardegan wrote:
> Here's the error: https://pastebin.com/68KdfagX

Oh, I see it now, there's a lonely "-D" in the compiler command line:

... -DXDG_THUMBNAILS -D -DQT_SVG_LIB ...

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?

At least, 1.16 seemed to handle that and did not add a "-D".

Ciao,
   Alberto

-- 
http://www.mardy.it - Geek in un lingua international


More information about the Qbs mailing list