[Qbs] Retrieving project options

Christian Kandeler christian.kandeler at qt.io
Mon May 23 10:18:24 CEST 2022

On 5/22/22 22:00, Alberto Mardegan wrote:
> how do I find out, from within a QBS build directory, what where the 
> command-line options which I passed to QBS to initialize the project?

There is no command-line option to extract this information directly. 
However, it will be printed if you build again (without a resolve 
command) with different command-line options. So you can just do this:

$ qbs modules.qbs.toolchainType:dummy

And similarly with the profile name.


More information about the Qbs mailing list