Qt OpenGL error: 'glGenBuffers': identifier not found
I am trying to use the OpenGL function glGenBuffers in Qt Creator 3.0.0 with Qt 5.2.0 for Windows 64-bit (VS 2012, OpenGL).
but I keep receiving the error:
error: C3861: 'glGenBuffers': identifier not found
My application calls glClearColor(1,0,0,1); and glClear(GL_COLOR_BUFFER_BIT); just fine.
In my .pro file I have: QT += core gui opengl widgets, and I've tried a large number of Qt OpenGL related header files.
I have tried googling this problem, and I have found a few others with similar problems, but so far nothing has worked.
Thanks for reading this post, and if anyone can help me out or steer me in the right direction I will really appreciate it.