views:

325

answers:

7

Hi, I am looking for a simple C++ library for making GUIs. I tried wxWidgets and GTK, but I think both are complex.

I want your opinion on what to use. Should I learn wxWidgets or you know a better one?

Thanks.

A: 

you can check MFC and QT

Ahmed Said
I'd say it's +1 for Qt and -1 for MFC, ... so I'm kinda confused now. :D
Alex B
+19  A: 

Try Nokia's QT. It's free, awesome and cross platform.

If you only need to support Windows, then you can check MFC or even better IMHO Windows Forms (with Managed C++).

Pablo Santa Cruz
I will surely try Qt.
andreeib
Don't get me wrong. I think QT is nice, but you aren't claiming that QT isn't complex, are you?
innaM
The Qt library itself is complex, but doing common tasks in it isn't.
Georg Fritzsche
+3  A: 

Try Qt, it's the best library out there. Even works cross platform.

You used to have to pay for a licence but they recently changed their licence to the LGPL.

Chaoz
The "commercial-only" release was unique to Qt for Windows. Qt for Linux has had a GPL version for as long as I can remember.
MSalters
+2  A: 

Any GUI toolkit is going to be complex -- GUIs are hard. I've heard good things about QT; I'd suggest GTK (not as complex as it looks) but it's a pain to install on Windows. I've done some work with wxPython, but I wouldn't know about Wx for C++.

pavpanchekha
That's right GTK it's a pain, I tried to make it work but in vain.
andreeib
It's not so much a pain to use as a pain to install; it's my toolkit of choice if I'm not planning to be cross-platform (Linux native speaking).
pavpanchekha
"I wouldn't know about Wx for C++." - wxwidgets (http://www.wxwidgets.org/). from their site: "Welcome to the home of wxPython, a blending of the wxWidgets C++ class library with the Python programming language."
Oren S
@Oren S: Right. But I've never used the C++ bindings.
pavpanchekha
why would gui be hard?
Aftershock
A: 

On Windows you may try WTL instead of MFC. It is more lightweight, works slighly faster then MFC and it is open source (it is used, e.g. in Google Chrome for Windows). As a bad side, it has little documentation.

elder_george
+1  A: 

Try out :)

FLTK The Fast Light Toolkit is a cross-platform Graphical User Interface (GUI) written in C++ library and can be use on UNIX/Linux, Microsoft Windows

sat
Look great I will give it a try. Thank's.
andreeib
A: 

You can use Visual C++ Express edition with MFC and the new library (from BCGSoft) to create office like GUI. It's powerfull and there is a lot of documentation and support on community sites : www.codeproject.com, wwww.codeguru.com.

If you are new in programming, I think you start directly with C# and .net, WinForms offer more tools and its simple to start. and with the mono you can deploy on other platforms as mac OS or LINUX.

To start download the Visual C# Express Edition, it's free.

Nacereddine