[Qbs] How QBS && QtCreator integration does work?

Christian Kandeler Christian.Kandeler at qt.io
Thu Dec 13 16:05:46 CET 2018


On Thu, 13 Dec 2018 12:52:58 +0300
Denis Shienkov <denis.shienkov at gmail.com> wrote:

> > The compiler is looked up in the PATH if the respective property is not  
> set.
> 
> I'm don't understand a bit.. What if my PATH contains two compilers?

Then the first one will be picked up.

> > if the respective property is not set.  
> 
> About what of property does you mean?

cpp.toolchainInstallPath
 
> > In the case of Qt Creator, all the relevant information comes from the  
> Kits (which are turned into qbs profiles), so the Probe is not used for
> look-up.
> 
> Hmm.. but how then QBS knows about the assempler, linker names?

Via the respective properties (cpp.assemblerName etc). I really suggest you read the documentation for the cpp module and take a look at GenericGCC.qbs.


Christian



More information about the Qbs mailing list