[Qbs] Writing a custom script by QBS

Christian Kandeler christian.kandeler at qt.io
Fri Oct 20 13:25:43 CEST 2017


On Fri, 20 Oct 2017 17:44:54 +0800
Ben Lau <xbenlau at gmail.com> wrote:

> Let's summarize about how to write a custom script by QBS
> 
> 1. Write it as a part of the "build" process, then run by `qbs -p
> scriptName`

Yes, the "script name" is a "product" in qbs lingo.

> 3. Set "requiresInputs" to false if input are not needed.

Note that this is essentially implied if the rule does not declare any inputs.


Christian



More information about the Qbs mailing list