Re: qt vs gtk
- From: jvetterli users sourceforge net
- To: gtk-app-devel-list gnome org
- Subject: Re: qt vs gtk
- Date: Wed, 14 Jan 2009 12:04:21 -0500
Some of my thoughts on the matter:
On Wed, Jan 14, 2009 at 10:10:42AM -0600, Thomas Stover wrote:
-QT (last time I checked) is not even C++. It's C++ and a custom macro
language. building ouch. debugging ouch. C++ paradigm ouch.
The Qt macros aren't very intrusive.
Once you have your makefiles figured out, it's not building is not
terribly painful, for either one. "Figuring out the makefiles" means
automating moc for Qt, and glib-genmarshal for Gtk.
I agree 100% that debugging with gdb is much easier for C than C++.
I find that deriving classes in C++ is alot easier than going through
the GObject type system.
-HUGE: glib and gtk are separate. glib can be used on it's own. so one
mental model to work with for gui and non-gui events.
Qt4 has been split into different modules -- QtCore (think glib), QtGui
(think Gtk), QtXml, etc.
-When you start getting into it, there is just no contest. I love GTK. I
have no doubt that if I started to read about qt, that I would
constantly be saying, "oh you can't do that", and "you mean you have to
that". Long live GTK!
When it comes to documentation, Qt really outshines Gtk. I have never
had to dive through code to figure something out in Qt. I always have a
copy of the Gtk source code untarred and ready, though.
] [Thread Prev