views:

849

answers:

5

Hello everyone! I want to create GUI applications with C++ on Windows. I have downloaded Qt, and it works well, but it has sooooo much stuff in it and so many header files that I really don't use. It is a nice framework, but it has more than just GUI.

Are there any lighter gui libs out there for Windows C++ that is "just gui"?

Thanks

A: 

wxWidgets

Stefano Borini
What's lightweight about wxWidgets???
sbi
hey, compared with Qt, everything is lightweight.
Stefano Borini
Ah, OK, I haven't looked at Qt yet. I found wxWidgets quite heavy.
sbi
Qt is a great library. I cannot imagine a better library out there. It has quirks (does not play nice with boost, for example), but it's well structured, documented and self-contained. If you use Qt, you don't generally need anything else. STL stuff, DB access, widgets, everything is in there.
Stefano Borini
+5  A: 

FLTK, if you are serious about lightweight.

http://www.fltk.org/

edit:
Blurb from the website:

FLTK is designed to be small and modular enough to be statically linked, but works fine as a shared library. FLTK also includes an excellent UI builder called FLUID that can be used to create applications in minutes.

I'll add that its mature and stable, too.

Shaun
demonkoryu
Nothing I know of that's lightweight. wxWidgets wraps the native widgets (mostly - where possible) while remaining cross platform. It's definitely a larger, heavier platform though.
Shaun
A: 

Try eGui (see here or here) or WTL.

Josh Kelley
+1  A: 

JUCE is fairly light weight, it can be as simple as one .cpp & one .h file. (Look at amalgamated JUCE) It doesn't look like a standard windows app however. On the other hand, it is cross platform.

FigBug
Cannot be freely used in commercial projects.
Vijay Mathew
A: 

try GTK with Glade3.