[Interest] QCommandLineParser, default arguments from env variable?
Thiago Macieira
thiago.macieira at intel.com
Mon Jun 23 23:20:14 CEST 2014
Em seg 23 jun 2014, às 22:48:59, Mark Gaiser escreveu:
> > 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
The difficult part is the splitting. Be careful with quoted parts.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list