[Qbs] Use of qbs.architecture with qtc

Christian Kandeler Christian.Kandeler at qt.io
Mon Feb 3 13:40:55 CET 2020


On Sun, 2 Feb 2020 11:57:20 +0100
Raphael Cotty <raphael.cotty at gmail.com> wrote:

> I see that the qbs.architecture property is set for the android platform by
> the different qbs tools.
> But it's not set by qbs-setup-qt or qbs-setup-toolchains for gcc.

That's because the cpp module sets it automatically using information retrieved from the toolchain.

> Although the doc says: "undefined indicates that the target platform is
> architecture-independent (for example the CLR or JVM)."

Yes, but it's not undefined anymore after the cpp Probe has run.

> Anyway, I am using it in my profile to distinguish between x86_64 and arm
> builds.
> 
> But when using qtc, this property is regularly deleted in the profile.

What do you mean by that?


Christian


More information about the Qbs mailing list