[Interest] QtArg

Stephen Kelly steveire at gmail.com
Tue Apr 10 20:50:06 CEST 2012


Nikos Chantziaras wrote:

> On 10/04/12 17:32, Thiago Macieira wrote:
>> On terça-feira, 10 de abril de 2012 17.17.09, Nikos Chantziaras wrote:
>>> On 10/04/12 15:54, Thiago Macieira wrote:
>>>> On terça-feira, 10 de abril de 2012 12.00.18, Igor Mironchik wrote:
>>>>> Here is very simple command line arguments parser.
>>>>>
>>>>> Look at it: http://code.google.com/p/qtargparser/
>>>>
>>>> There's another one being developed for Qt 5:
>>>>
>>>> http://qt.gitorious.org/qt/qtbase/commits/cli_parser
>>>>
>>>> I recommend everyone who has ever developed a parser to join Laszlo's
>>>> effort to make sure we meet your needs by Qt 5.1.
>>>
>>> I'd recommend to support Igor Mironchik instead, since it's for Qt 4,
>>> which we will be using for a long time (Qt 5 doesn't work in KDE.)
>>
>> KDE already has KCmdLineArgs, so KDE doesn't need a Qt 4 solution. It
>> needs a Qt 5 solution.
> 
> I don't understand.  With that logic, Qt 5 doesn't need a solution
> either because KDE will support Qt 5 in the future, and you'll have
> KCmdLineArgs too then.

Hopefully KCmdLineArgs will be deprecated in favor of the solution available 
in Qt5.

Your argument seems circular anyway. If it's not relevant to KDE (because of 
KCmdLineArgs) why is it relevant to KDE (you said that KDE doesn't work with 
Qt5).

> 
> Furthermore, Qt application can't use KDE libraries, because then they
> would be KDE applications, not Qt applications.  

That's 'KDE4 thinking'. Here's an old page which gets you caught up some of 
the way:

http://community.kde.org/KDE_Core/Modularization

Here's a todo list:

http://community.kde.org/Frameworks/Epics/kdelibs_cleanups

> Qt 4 application run
> very nice in KDE.  Qt 5 applications do not (they look very alien).

I'm not sure what to say. Is it because the oxygen plugin is not built for 
Qt5 yet? I can tell you that the oxygen plugin does build with Qt5/KF5.

> I prefer a Qt 4 solution, because it will take years for all Linux
> distros to come with a KDE that supports Qt 5.

Contributing to the Qt5 effort would actually make KDE on Qt5 arrive sooner.

Thanks,

Steve.





More information about the Interest mailing list