Em ter 24 jun 2014, às 10:26:39, Mark Gaiser escreveu: > I think I'll just look at how QCommandLineParser is doing that and > "copy" that logic. > Would it be a nice idea to add a function to QCommandLineParser with > the following signature: > > QStringList QCommandLineParser::parse(const QString& arguments)
Like Peppe said, we don't have that code in QCLP. We receive the command-line properly split from main: argc and argv. On Windows, you have CommandLineToArgvW. On Unix, there's no such thing in the application, the shell does the splitting. -- 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