I'm currently working on OpenGL in Qt and trying to create a framebuffer object using following call
glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, GL_TEXTURE_2D, scene_img, 0);
When I try to compile my project I get following error:
Error: C2065: 'GL_FRAMEBUFFER_EXT' : undeclared identifier
Apparently the name GL_FRAMEBUFFER_EXT is not identified anywhere. I tried importing QtOpenGL, QGLShaderProgram and QGLFramebufferObject with no luck. Still the same error. I took a look in ql.h, still no luck. Is there anything else I have to import? Note that my normal QGLWidget works without a problem, except for the FRAMEBUFFER issue.
Btw: Working on Windows 7