[Qbs] Passing settings to qbs generators using the command line

Christian Kandeler Christian.Kandeler at qt.io
Tue Nov 19 10:43:25 CET 2019


On Tue, 19 Nov 2019 08:07:22 +0000
Maximilian Hrabowski <hrabowski at clausmark.com> wrote:

> Is there a way to pass settings to qbs generators using the command line?

Not yet, because no one has needed it so far.
This feature can be easily added, though: Just extend the GenerateCommand class to behave like RunCommand (using the "--" separator for extra arguments), and pass these additional arguments to ProjectGenerator::generate().
Wanna give it a go?


Christian


More information about the Qbs mailing list