123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|583|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> C/C++/C#/Other -> GUI libraries

Tue, 12 Jul 2011, 11:06
jedimastersterli
yet again another question. I need a good GUI library to start out with. I've gotten to the point with my C++ where DOS applications are too tedious.

My compiler supports FLTK, GTX+, QT4, SmartWin, Win32 GUI, and wxWidget

anyone have any redeeming, or damning information about these, or suggestions of which one you would pick.
Tue, 12 Jul 2011, 11:29
JL235
Is this a GUI for building a GUI in a game, or a GUI for an application? If it's for a game, then I'd recommend looking at game oriented GUI libraries. These typically allow you to render the components inside your game, using OpenGL.

Next question, are you also planning to build cross platform, or just for a specific OS? My personal advice is to only concentrate on the OS your developing on (which I presume is Windows), and not care about other platforms.

Building a cross platform application is not as simple as just using x library, you have to consistently develop and test on all platforms. Even websites, one of the most cross-platform formats you can have, need to do this in order to work correctly on all platforms.

I would avoid using GTK+ at all costs, those applications tend to look quite bad on Windows. Gimp is a very good example. QT and wx are far better then GTK, and are two decent options to go with.

If you are using Windows then you could also take a look at MFC and WinForms. MFC is a framework for building whole applications with C++. WinForms is much simpler and for .NET, and is meant to be excellent. Although it's .NET, you can run C++ code on .NET, and I believe you can interact with .NET objects from C++ (but don't quote me on that).
Tue, 12 Jul 2011, 12:08
jedimastersterli
for the moment i'm just using it for practice, so I'll be doing applications initially. Eventually i'll be doing things in OpenGl and MatLab, and later on a website. OpenGl and MatLab will only be on my computer (Windows). I don't know if i need cross platform applications for website work though.
Tue, 12 Jul 2011, 13:50
shroom_monk
Which compiler / IDE are you using? I still stand by SFML, as I've been using it for a while and have found no problems with it.

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Tue, 12 Jul 2011, 17:29
jedimastersterli
Code::Blocks compiler. I'll keep looking into SFML.
Tue, 12 Jul 2011, 23:24
shroom_monk
Code::Blocks is what I use, and SFML will certainly work very well with that. If you do choose to go with it, the tutorials on their website are the best place to start. Then just play around with all the basic stuff to see how it works.

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Sat, 16 Jul 2011, 02:56
Sticky
I'm using Qt. I just started with it a couple of days ago, actually, and it doesn't take too long to get started with.

This rudimentary synthesiser is my first project with it:


There's a book you can buy\'find' called C++ GUI programming with Qt 4 (second edition) that is pretty much a godsend for this.

In other news, it's been nearly a year and a half since I was last here!

-=-=-
last.fm