The question is never "why not have something in core", it's "why does this need to be in core". Being small in size is not a very good reason...
On 21/10/2011 20:12 Иван Комиссаров wrote: CMD line parser is very small utility, not more than 500-1000 lines of code (even with feature of type-checking), so why not to include it into Core? As far as i remember, kde implementation doesn't have some features (i compared some tools when i need some parser; boost parser was best option for me; however it has awful syntax and doesn't integrate with Qt types and QVariant, so i had to reinvent wheel:( ) 21.10.2011, в 21:03, Andre Somers написал(а): > Op 21-10-2011 16:29, Stefan Majewsky schreef: >> 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? >> > Does it need to be in core? Would an add-on module that only depends on > QtCore not be just as useful? > > André _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
