I have a project in which I am using Qt and OpenGL (with QGLWidgets). I thought I had OpenGL installed on machine, but now I am doubting myself. I was trying to use the OpenGL function glWindowPos* which is only available in OpenGL 1.4 and higher (they are currently at 2.0 or 2.1). My compiler/linker (VS 2003) complained about not understanding this function call. I decided to use the glGetString( GL_VERSION ) call to see what version on OpenGL I have, but the string that results from this call returns "(null)".

This result is leading me to believe I do not have OpenGL installed on my machine, but leaves me confused how all my OpenGL code compiles and displays. Does Qt come with a majority of the OpenGL calls embedded into the QGLWidget class or how is my code working. I did a search on my machine for gl.h and the only one I got was qgl.h. If this is the only OpenGL code I have, does anybody know what version of OpenGL the QGLWidgets have implemented? Thanks!