[Qbs] Any novice tickets
richard at weickelt.de
Mon Aug 6 23:58:50 CEST 2018
>> https://bugreports.qt.io/browse/QBS-511 (QBS help text is not properly
>> format in windows cmd shell) I guess, QBS doesn't use QCommandLineParser at
>> the moment?
> No, and I don't think it can, because of the "command plus additional arguments" syntax that qbs uses.
This would be a very useful add-on in QCommandLineParser. Is the following
work-around too hackish?
1. Parse the second argument in argv (or QCoreApplication::arguments())
manually in order to deduce the command before initializing an appropriate
2. Then remove the second argument and pass the resulting list (without the
command) to QCommandLineParser.
1. qbs build --options
2. qbs --option ...
More information about the Qbs