[Qt-interest] QT and KDE code

M. Bashir Al-Noimi mbnoimi at gmx.com
Tue Mar 23 06:50:48 CET 2010


Hi,

This point I wanted to know about since I migrated to kubuntu.

Why KDE isn't completely cross platform just like Qt? although it 
inherited from many Qt classes (KDE applications in Windows are absolute 
disaster where Qt works smoothly in many platforms) !!!
Why portability of GTK -generally- is better than KDE specially by 
comparing to KDE3?

Sorry for obtrusion but I was looking for answers years ago but I 
couldn't get them.

On 22/03/2010 10:20 م, Stephen Kelly wrote:
> Anatoly Burakov wrote:
>
>    
>> Hi all
>>
>> I was reading some mailing lists and articles about coding for KDE vs
>> coding for QT. In that swarm of information the main idea i got was that
>> KDE classes are basically QT classes with added functionality and names
>> starting with K instead of Q. Does that mean that basically if i replace
>> all Q's in class names in header files with K (when the corresponding
>> class is available) the code will compile without any further
>> modifications (provided i have included all the needed KDE headers of
>> course)?
>>      
> That's not quite the point.
>
> The KDE development platform is written with Qt and consists of a lot of
> libraries and classes extending existing Qt functionality and adding new
> APIs not provided by Qt. These include APIs for writing games, educational
> software, personal information management (the bit that I do), as well as
> platform integration such as common dialogs, uniform configuration
> management, standard application data directory structures and more.
>
> The API docs for the KDE development platform are
>
> * http://api.kde.org/4.4-api/kdelibs-apidocs/
> * http://api.kde.org/4.4-api/kdepimlibs-apidocs/
>
> and there are tutorials here:
>
> http://techbase.kde.org/Development/Tutorials/
>
> Many KDE classes do inherit Qt classes and add functionality but that's the
> case with all software that uses Qt. Just using KTextEdit instead of
> QTextEdit won't make your application better unless you know why your using
> it. In the case of KTextEdit, the widget will automatically respect the
> system settings for mouse hiding for example, so it doesn't need to be
> configured per application.
>
> http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKTextEdit.html
>
> Best regards,
>
> Steve.
>
>    
>> Best regards,
>> Anatoly
>>      
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>    

-- 
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100323/f95079bd/attachment.html 


More information about the Qt-interest-old mailing list