Re: [Qbs] Strange error with QBS 1.22.1 on Android

2022-05-25 Thread Christian Kandeler
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

Re: [Qbs] Strange error with QBS 1.22.1 on Android

2022-05-24 Thread Alberto Mardegan
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" : ""

[Qbs] Strange error with QBS 1.22.1 on Android

2022-05-24 Thread Alberto Mardegan
Hi all, I upgraded to QBS 1.22.1 and I get a very weird errorwhen building on Android (Qt 5.15.2); the build for Linux desktop (x86_64) instead works fine. Here's the error: https://pastebin.com/68KdfagX The source code is https://gitlab.com/mardy/mappero/-/commits/qt5.12 I should also