Search code examples
c++winapiwxwidgetsopengl-3

GUI-Toolkit that supports propely OpenGL3


I am in need of a GUI-Toolkit that properly supports OpenGL3 and allow creating of a forward compatible profile.

Normally I use wxWidgets. But when I try to create the context I use in my engine on a wxWindow or wxPanel, GetDC() fails because the Window lacks CS_OWNDC. I really don't want to learn QT, but it does not support it either from my first looks.

So, how can I either create a proper Canvas on a wxWindow or what Toolkit supports my needs? Thanks for any input.


Solution

  • Qt supports forward compatible contexts in versions 4.7 and above: http://doc.qt.nokia.com/4.7/qglformat.html