Hey guys,

Apologies for being late to the party!

If Craig doesn't like QCommandLine, and the other implementation mentioned has 
legal restrictions, I have an implementation I wrote - with no legal 
restrictions other than normal Qt license compatibility.

It supports most of the usual suspects: long and short options, aliases (ie: 
you can treat 'h', '?' and 'help' as the same thing), parameters (even 
multiple), and optionally stopping at '--'.  There's no type conversion - 
everything stays as a QString, but you can ask it what it found, in what 
order, what it didn't recognise and what was left over at the end!

Oh - it doesn't need subclassing, or use signals or slots.  I'm afraid it's 
just old-fashioned calls to methods on an object!  :-)

It's 2 classes, 755 lines - including Doxygen comments.
Who should I send a copy to?  (I didn't want to spam the whole list!)

Steve

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to