Just to follow up in case others are stuck with the same issues. Got it working with the glew library. Included GL/glew.h before QGLWidget.h and then added GLEW to my linker library list. Glew then says I have openGL 3 available so it appears glew is able to provide the right headers.
Bookmarks