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

Re: [Qbs] Selecting target architecture for Android

2022-05-24 Thread Christian Kandeler
On 5/23/22 22:32, Alberto Mardegan wrote: I do have an "install: true" on the library product, indeed. But I thought this was needed to have the library installed on Linux? It is. If you want to be precise, you can make the value of this property dependent on the target, e.g. use a Properties