You are not logged in.
Hello, I have some doubts between GTK+ and QT; What are the main differences between the two libraries? Who offers more performance and speed? Who is more useful and flexible?
Greetings
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
I have a feeling people will disagree/flame on this one...
In my experience, QT makes a lot more sense on something things, whereas GTK+ is quite broken, technically speaking. However, from a usability standpoint, I think GTK+ is great (PyGTK bindings are nice, too). As for speed, I find GTK+ to be faster, but QT4 is supposed to see quite a significance increase in speed.
For me, I love GNOME, so it's just GTK+ no matter what.
Offline
From my observations QT(4) is regarded as more advanced and more fun/easier to code in (e.g. signals and slots vs callbacks), and with QT4 come lots of nice goodies, including performance improvements.
An important difference is that GTK uses C and QT uses C++. GNOME/XFCE apps are written using GTK2, KDE uses QT.
The longstanding problem with QT was the fact that it wasn't GPL-licensed; that's why GNOME came to life, actually.
Generally, it's kind of asking which is better, GNOME or KDE, Ruby or Python. Any proponents of either will find its pros over the other one ;-)
Whichever one should one use depends obviously also on what one needs to code - if you're coding a KDE app, you have to stick to QT.
I'm not much of a coder myself, but if I were to code some desktop app, it'd be in QT.
Offline
I have tested some programs like KPDF in front of Acroread, Amarok vs Exaile, Kaffeine vs Totem, Kopete vs Pidgin... and I find faster all KDE apps.
But for now QT libraries are free, right?
I have heard (I don't know if it is true or false) that qt takes advantage of 3D rendering, while GTK+ doesn't use that rendering...
Is this the main reason why I find KDE faster than gnome?
Last edited by Davigetto (2007-10-06 19:38:28)
Only deaths can see the end of battles.
Blog: http://djmartinez.co.cc -> The life of a Computer Engineer
Offline
As a related thing, QT4 is much faster and nicer looking than QT3. And the font rendering is vastly improved.
Offline
As somebody with not a lot (but some) programming experience, Qt is just a joy to work with. It has fantastic documentation, functionality, and it's easy to write programs. I can't say the same for gtk+.
Offline
As somebody with not a lot (but some) programming experience, Qt is just a joy to work with. It has fantastic documentation, functionality, and it's easy to write programs. I can't say the same for gtk+.
I can Regardless, I doubt he really cares about the developers' point of views.
Your best bet is to try gnome/xfce and kde and determine which you like better. That'll give an indication of the two toolkits.
I am a gated community.
Offline
When I will have those absolutely amazing things like Murrine and Rezlooks for QT, I'll think about switching to KDE. Every QT theme I've ever seen was _really_ ugly
Offline
Simply they're two different ways of implementing the same thing.
You'll find a lot of claims that one is better/faster/more attractive than the other, but they all come from a lack of information, or are completely unbacked.
So in summary:
- Use whichever applications you find most comfortable, regardless of which toolkit they use.
- Program with whichever you find more comfortable, they both work differently
The best way to find out the answer to either, is to try them. It's not that hard, and doesnt take long.
James
Offline
Simply they're two different ways of implementing the same thing.
You'll find a lot of claims that one is better/faster/more attractive than the other, but they all come from a lack of information, or are completely unbacked.
So in summary:
- Use whichever applications you find most comfortable, regardless of which toolkit they use.
- Program with whichever you find more comfortable, they both work differentlyThe best way to find out the answer to either, is to try them. It's not that hard, and doesnt take long.
James
And how!!!!!
scoon
foo...
Offline
Hello, I have some doubts between GTK+ and QT; What are the main differences between the two libraries? Who offers more performance and speed? Who is more useful and flexible?
Are you looking for answers from a user's point of view, or a developer's? You should try both and see which one you like the most.
Developer: After testing both GTK and Qt, I chose to go with Qt. It's very easy to use and there are plenty of great tools to assist you. If you're not using C++ (which Qt is coded in), you can use a number of other language bindings, such as Python, Ruby, Java, C#, and more.
User: In my opinion, a user could care less which GUI framework your applications use. However, if the majority of the applications you prefer are using one of the libraries, try to stick with that. I found my preferred apps used Qt, so it was natural to stick with Qt+KDE. The few GTK apps I needed can be "fixed up" with the GTK-Qt Theme Engine.
But for now QT libraries are free, right?
Yes. If your application is open source, it's free. (GPL)
Offline