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

Maximilian Hrabowski hrabowski at clausmark.com
Tue Nov 19 10:53:11 CET 2019


I’ll have a look, thanks!

> On 19. Nov 2019, at 10:43, Christian Kandeler <Christian.Kandeler at qt.io> wrote:
> 
> 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
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs



More information about the Qbs mailing list