C++ GUI Toolkit with OpenGL Support

1.5k Views Asked by At

I've been looking for a good C/C++ GUI Toolkit for some time now, and have found these to be the general requirements:

I need it to be: Good looking cross-platform C++ or C that will compile w/C++, either is fine OpenGL support can be used in commercial applications without royalties (no licensing snags)

What I've used in the past and why they aren't what I need: -Win32 (not cross-platform) -FLTK (grey, flat, and visually unappealing, but otherwise excellent)

I've been looking at GTK rather closely, the only problem being that it doesn't have reliable OpenGL support as far as I can tell (some 3rd party support only?) Qt's license does not allow commercial development without a licensing fee.

By OpenGL support, I mean OpenGL views in the toolkit (embeddable).

4

There are 4 best solutions below

1
On BEST ANSWER

You may want to reconsider Qt as your answer, and you are a few years behind on the license changes since Nokia acquired them -- that is no longer a concern as it is LGPL these days. And support for OpenGL is just one of many strong points in favor.

0
On

The three major ones, GTK+, wxWidgets, and Qt, all use a form of the LGPL. Unless you are unable to dynamically link to the GUI libraries on your architecture, you can distribute all the commercial software you want.

0
On

It's not exactly what you asked for, but another possibility is to use a standard openGL windows (for example using GLFW) and do the GUI yourself, for instance with ceGUI.

It's definetely possible to have the gui in one part of the screen, and a 3D view in another, just like you'll get with a toolkit.

(but personally I'd go with Qt though)

0
On

we have a toolkit, XVT. if you are looking for help in writing it, we can do that too.