On Fri, Oct 21, 2011 at 8:33 PM, Thiago Macieira <[email protected]> wrote:
> On Friday, 21 de October de 2011 20:29:15 Diego Iastrubni wrote:
>> One could argue that this was not used by Qt application until now since
>> this was not available.
>
> Most applications are graphical and launched from menu launchers. Command-line
> arguments aren't often used...

Just because it's a menu doesn't mean it doesn't involve arguments.
Those menu launchers still frequently use command line arguments, even
if offered via a .desktop file. They may also exist for other
purposes, e.g. debugging, or switching on certain functionality. The
fact that there are so many reinventions of these command line parsers
shows there is something of a need for them - I've seen at least four
different implementations not including simple mangling of
QCoreApplication::arguments()...

...but I think this is really just an academic exercise until there is
real code, anyway.
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to