[Qbs] Use of qbs.architecture with qtc
raphael.cotty at gmail.com
Mon Feb 3 18:09:57 CET 2020
I was using it at the project level which was obviously wrong.
I managed to change all the occurrences of the test by moving them in the
condition of the different products.
Except in this case:
Is there a way to use the qbs.architecture to select the depend?
QtCreator regularly overwrites the profile config file. I used to add the
qbs.architecture property in the file and it gets wiped out from time to
Le lun. 3 févr. 2020 à 13:41, Christian Kandeler <Christian.Kandeler at qt.io>
a écrit :
> 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
> > 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?
> Qbs mailing list
> Qbs at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qbs