![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 770
Rep Power: 3
![]() |
Qt vs GTK
I've decided that I should finally get my arse in gear and make some programs with GUIs in C++. As I've mostly moved to Linux for my personal development, I was wondering how many of you have experience with Qt, GTK, and whatever else is out there (and if there are others worth mentioning, please do). I tried googling around, and what I've read so far indicated that Qt takes a bit less coding at the cost of either purchasing a commercial license or releasing under the GPL (which isn't a big deal). There was also a few mentions that GTK requires one to wrap C code for usage in C++, whereas Qt is done in C++ to begin with. I didn't really see anything that compared their features or even their structure except to say that they were similar. So overall, I'm leaning towards Qt...
Does anyone have anything else to offer about one, the other, or both? Thanks. ![]() |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Qt integrates better with native Windows widgets; other than that, I think you covered all of the pros and cons of both systems.
|
|
|
|
|
|
#3 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
I think Qt's better structured and prettier. The downside is, of course, the whole licensing thing. If you're not bothered about that, I would suggest going for it.
|
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
|
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 243
Rep Power: 3
![]() |
As ooble said, the most annoying thing with Qt is the license. If you just want to exercise in Qt, without worrying about releasing your work to the public, then Qt openSource is the right version for you, unless you have thousands of dollars to spend.
If you have OS X, I think Qt is the way to go, although the installation procedure should have been covered with more information...
__________________
Project::Soulstorm (personal homepage) |
|
|
|
|
|
#6 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
|
|
|
|
|
|
|
#7 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
I don't know where you are getting that feeling from. What application have you used that gave you that feeling, are you sure it was wxWidgets that made the application flaky, not bad coding?
Epic uses wxWidgets for its UnrealEd, while Audacity, Code::Blocks, DialogBlocks, and wxDesigner don't feel flaky at all. I have used plenty of QT in KDE and that setting feels fine, I really don't know of any QT application I have used on OS X or Windows. |
|
|
|
|
|
#8 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 648
Rep Power: 4
![]() |
The Qt documentation is amazing. It is the a joy to quickly get the information you need.
Example: http://doc.trolltech.com/4.1/qpushbutton.html There are also lots of tutorials and examples.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
#9 |
|
Programmer
Join Date: Dec 2005
Posts: 33
Rep Power: 0
![]() |
I guess
QT can only be used from C++ whereas GTK it possible to use from any language. What say??
__________________
The only real valuable thing is intuition. -Albert Einstein |
|
|
|
|
|
#10 |
|
Expert Programmer
|
You can use Qt in Python, I've done it before.
![]()
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|