Lately I got very interested in GUI programming. I download Qt Creator and dived in head first. I was able to create a few apps and useless things. But now I'm doing it I ask myself: Is C++ actually a good language for GUI programming?
Another question I'm having: Is it actually needed to learn GUI?
In what languages do you code GUIs and if so, in what frameworks (Qt, wxWidgets etc...)
As is usual in programming it is problem dependent. If you just want to try out some simple GUI code, see how it might work you could use Python and TkInter. Otherwise I can recommend GTK although I would be bias towards it since it was the only one I tried using...
I looked into gtkmm and Qt so far. Qt seems by far the easiest to me. But, somehow it doesn't feel C++ish, while gtkmm feels like it's STL...
Anyone ever coded in gtkmm?
xorebxebx: I've noticed you seem a tad hostile towards C++, why is that? And please justify your statement above.
As for GUI programming, have you concidered using C++ alone? It's quite easy to learn and is less constrictive than Qt (or any other for that matter)
Almost every forum/review/comparison I've read says Qt is easier...
I've also downloaded Qt creator and played around with it a bit. Was pretty easy to set up widgets etc.
Then I read some GTKmm code and at the hello world prog, everything seemed so much more C++ lol.
But once it got a bit harder, I really couldn't follow. I guess I'll give it another chance!
If so, I think i prefer GTKmm than. Has very nice documentation on their website and it feels more like C++.
Qt feels like writing a different language! I'll check Glade Designer asap!
Standard C++ does not provide any graphic library, you have to use a third party one
Windows.h has a graphic library, if you don't mind using HPENs and image loading. what are talking about?? When I said C++ alone I meant what MinGW usually comes with which is probably what xander333 has.
xander333, if you're trying to learn WinAPI, use the windows.h lib for C++. It requires a little learning but you'll be glad you made the effort.
I personally like using Qt when I need to do GUI programming. Although, maybe I should look into GTKmm if it's a bit more "C++"...
Also, the WinAPI is NOT standard C++. :( Furthermore, I personally discourage the use of system APIs when there are cross-platform APIs that do the same task available, however just to make this clear I do on occasion recognize that there is a place for a system-specific API.
I don't understand people's comments about Qt not being like C++? I use it quite a lot and haven't noticed anything that really goes against C++, unless people mean it's fondness for it's own data types (QString, QList, etc) - which kind of makes sense when the aim is to make something cross-platform easily and allows for Nokia to optimise it.