views:

182

answers:

1

Hi, is there a full-featured framework for C that is similar to Qt?

+7  A: 

It's called GTK+ (Gimp ToolKit). Its actully quite nice to use, and any program that you write using it will also work on KDE! It's syntax is also pretty nice (for C). It's syntax is very close to Qt's (see for yourself in this tutorial).

Lucas McCoy
GTK+ comes with sockets, threads like qt ? Works good on Windows and Mac ? Thanks!
rui
Minor nitpick, Lucas: "it's" means "it is." If you want the possessive, it's "its."
Chris Lutz
GNOME is the desktop environment based on GTK+, KDE is based on Qt.
sth
@rui: Gtk+ builds on top of Glib. Glib includes GIO whose `GSocket` provides network sockets. Glib also provides threading support via the `g_thread_*` family of functions.
ephemient
@rui: Also see http://www.gtk.org/download-windows.html and http://www.gtk-osx.org/ -- Gtk+ is less developed than Qt when it comes to odd platforms like Windows and Mac, but it works. Actually, it all works marvelously if you go with the X11 backend (on all platforms), but that may not be what you're looking for.
ephemient
@Chris: I just fixed that. You can probably tell English wasn't my best subject. ;-)
Lucas McCoy
@rui: The best way to say thanks would be to give me the accepted answer, I'm addicted to this rep stuff.
Lucas McCoy
Doen. Thanks Lucas!Really appreciate your answers.
rui
@rui: Thanks! Glad I could help.
Lucas McCoy