Log in

View Full Version : Cross Platform GUI development (C++)


Sagekilla
23rd November 2009, 01:55
Hi all, I was wondering if anyone could recommend a relatively easy to use library for graphical applications? Cross platform is a must, and being able to interface with DirectX / OpenGL is a plus.

I've checked wikipedia for a bunch to use, but I figured I'd ask you guys if there's a recommended library. I am developing in C++ for the record by the way ;)

Any help is greatly appreciated!

stax76
23rd November 2009, 02:15
IMHO portability and C++ is a waste of time, you can get three times more done with VB.NET and WinForms or WPF. Take a look at VB.NET 2010 Express Beta 2, I'm coding with it since a few weeks, it's stable enough. Almost the entire VisualStudio shell was replaced with a managed WPF shell, code editor, toolbar, menu and all new dialogs are WPF now.

QT is said to be the best C++ cross platform GUI toolkit, wxWidgets would be the alternative.

buzzqw
23rd November 2009, 08:30
vb.net is cross platform ? runs on mono ?

BHH

stax76
23rd November 2009, 14:59
.NET and WinForms is cross platform, regarding C++, some things are better programmed with native code, some things must be programmed with native code, application mix managed and native code, it's no difference calling custom native code and platform native code. For cross platform you don't have much options other than pinvoke, no C++/CLR and no COM+.

kidjan
22nd December 2009, 02:44
If C++ is a must, I'd second using Qt--I've been using Qt for the last year, and it's definitely a solid library with some great base classes.

.NET and/or mono are great. But for media applications where most libraries are native code, stuff can get ugly fast and part of me thinks it's probably better to go Qt from the start.

Selur
26th December 2009, 10:25
I prefer QT too (for C++ and Java)

Fr4nz
3rd January 2010, 11:16
I'd also suggest Qt4.