Qt 5 Windows Opengl > 2.x
i compiled qt 5 on my own as described in http://qt-project.org/wiki/Building_Qt_5_from_Git
with the option -opengl desktop.
My problem: Using qt 5 glGetString(GL_VERSION) returns 2.1.2 (I also tested this using ./examples/opengl/hellogl example project provided by qt) even with glew!
Using glut + glew i get OpenGL version 4.2.0
With Qt 4.8.4 i also get 4.2.0
So it has to be a problem with qt 5?
Someone has an idea?
Thank a lot in advance for any help.
My System: Windows 7 32-bit, Geforce GTX 480, Visual Studio 2010