On Mon, Jun 23, 2014 at 6:11 PM, Thiago Macieira
<thiago.macie...@intel.com> wrote:
> Em seg 23 jun 2014, às 14:18:35, Mark Gaiser escreveu:
>> I know that you can set the default arguments in code with
>> QCommandLineOption and that works rather well. But i miss (or am i
>> overlooking it?) an option to set default arguments via a command line
>> define.
>
> getenv("APPNAME_ARGS"), split it into a QStringList and pass it to the
> command-line parser.
>
That sounds like a nice solution.
Thank you for the hint :)

> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to