On Friday, 21 de October de 2011 16:29:36 Stefan Majewsky wrote: > Moin moin, > > it would be nice to have a command line parser in QtCore, i.e. some > class that parses stuff like > > > ./program -vh --long-option --value=5 foo.dat > > given some format definition. KCmdLineArgs and KCmdLineOptions from > kdecore do exactly that for KDE programs. I don't have time right now, > but perhaps someone wants to pick up this task?
Hello Stefan
Speaking as QtCore's maintainer, I'll reserve the decision until I see your
proposal. I don't think your development depends on whether you're inside
QtCore or not, so you should just develop the framework the way you prefer it
to be and let everyone review when you're ready.
If you do find a compelling reason to be inside QtCore (such as changing the
QCoreApplication custom parser), it may make the case for it. Note that most
Qt applications do not use command-line parsing, so the presence of the parser
should not adversely affect those applications.
PS: if anyone suggests you make it plugin-based or be able to output XML
documentation, manpages and bash completion, feel free to disregard.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
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
