I'm developing with Qt 4.5, and I wanted to use the OpenGL 2.0 spec for development. I'm just trying to get a very basic program running right now. When I try to compile, glCreateShader() isn't declared, telling me that Qt's OpenGL is pre-2.0, yet when I grep the source code, I see references to glCreateShader(). Is there a compiler flag I need to set in order to code against the 2.0 spec? Is there a function I can call to see what version of the spec is being supported? Some insight would be greatly appreciated.
Bookmarks