3
Before we begin some considerations:
- The object of this topic is to search for facts/objects, therefore assumptions/kicks/spreads will not be accepted as answers.
- All responses should take into account a GNU/Linux environment with the due library with no need to worry about portability to UNIX-LIKE environment (Windows/Mac).
- Answers do not need to consider library usage for commercial purpose.
I have seen a lot of discussion in some forums about the use of libraries and I have some doubts about certain arguments.
- What exactly features the
GTK+
has to theQT
has not? - And the reverse, what resources the
QT
has to theGTK+
has not? - I realized that there is still a resistance on the part of the developers in the use of the new versions of libraries. Both QT and GTK have new versions. There are some compatibility issues with previous versions that prevent their use?
You have taken great care to ask the question, which is commendable since its way is sensitive. I still see some problem in it. It seems to me broad in items 1 and 2. And items 3 and 4 ask for opinion explicitly despite not using this word. I can say that your last doubt is not important since the way the programmer uses it will make more difference than the library itself. I have heard something but never proven since it is very difficult to compare things so wide and so interconnected that GTK has a small advantage over Qt. I didn’t hear about the GTK+ (Binding p/ C++).
– Maniero
@bigown Thanks for your comment. I made a small issue in the questions trying to make more explicit the goal itself.
– jlHertel
"GTK+, or GIMP Toolkit is a cross-platform toolkit to create graphical interfaces" and "Qt is a framework multiplatform for UI and apps, for developers using C++ or QML" (my emphasis). Basically the 1st is GUI, the 2nd is an extensive framework that has GUI and more a multitude of things. A balanced comparison of things with somewhat different natures and objectives will be complicated.
– Bacco
It really improved, I was even trying to answer but still items 1 and 2 would require an extremely long compilation or else it would be an incomplete response. I don’t really know if anyone can attest that the answer is really correct. If you have a partial list, is it valid? But if it does, then you can be biased. In the background the work that gives someone to answer is the same as you take the two documents and make a comparison. It is not something that a person without knowledge cannot do. Unfortunately I have not yet found a way for this question to be considered valid.
– Maniero
And there’s this question that Bacco’s talking about too. Even if you choose to analyze only the GUI part of Qt, which could leave it at a disadvantage by the architecture it uses, you would still have to do a very long analysis or each would pick up the points that is found relevant.
– Maniero
Actually I made a mistake up there. The problem of being GTK or GTK+ has nothing to do with it. As you are asking about C++ and I haven’t put my hand in GTK for a long time, I couldn’t remember anymore that GTK+ is the same GTK with new nomenclature. I was thinking you were talking about Gtkmm who is the Binding p/C++. Then the thing got worse, because you are comparing one solution to C to another to C++. Just to help you a little, they already tried to make this comparison and it got really bad: http://www.wikivs.com/wiki/GTK_vs_Qt
– Maniero
They tried to answer and did not provide any information relevant to their question: http://unix.stackexchange.com/questions/129355/what-is-difference-between-gtk-and-qt-applications. In this question also: http://stackoverflow.com/questions/9441127/gui-Development-Qt-vs-gtk. Whenever you change a larger version, you may have some incompatibilities. A different way of doing things. Some people are not comfortable with this and prefer to stay in the old version. Qt 5 looks great. I heard that the new GTK has some disadvantage but I don’t remember what it is and I don’t know if it’s true.
– Maniero
@bigown Thanks for the comments. I will close the question once I understand it doesn’t make much sense to carry out the comparison as I was thinking.
– jlHertel