[Interest] QCommandLineParser, default arguments from env variable?

Giuseppe D'Angelo dangelog at gmail.com
Tue Jun 24 11:16:30 CEST 2014


On 24 June 2014 10:26, Mark Gaiser <markg85 at gmail.com> wrote:
> I think I'll just look at how QCommandLineParser is doing that and
> "copy" that logic.

I think there's no such logic. QCommandLineParser will already see the
arguments correctly split, i.e. the ones you're receiving into main.
Your problem is that you have to perform the split yourself because
you have a single string -- the environment variable.

-- 
Giuseppe D'Angelo



More information about the Interest mailing list