[QBS] Default compiler and Qt versions

Joerg Bornemann joerg.bornemann at digia.com
Mon Oct 1 09:40:45 CEST 2012

On 28/09/2012 14:06, Ruslan Nigmatullin wrote:

> It's forbidden for build system (for *nix systems, like launchpad/obs) to change anything in user's home dir during building of another application (machine state before and after build process mustn't change). Currently I have to execute 'qbs platforms' and 'qbs setup-qt' to start build process. Otherway qmake/cmake/etc are able to build applications right after installation.

During build nothing is changed in the user's home.
You just need a setup step, which can be seen as "part of installing 
qbs". Usually that's just one call of "qbs platforms probe".

To not fiddle around in the home of every user the platforms can be 
setup in a system global qbs config by the machine's administrator? 
(Which reminds me that there is no system global cfg ATM...)

> I guess that QBS should install something like settings for default compiler/qt versions (and they will be modified by maintainers somehow on Qt's path changed). But there is one issue: compiler should be determined during build from CC environment variable, or, if it's not set, by some other factors. How is it possible to be implemented?

This might be doable by specifying better default values.



Joerg Bornemann, Digia, Qt
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin

More information about the Qbs mailing list