OpenGL an QT Eclipse


I got to use QT Eclipse cross platform development for my project requirements. And I am finding difficult to understand how to setup Opengl code with QT eclipse. I mean none of the Opengl commands like glEnable() is being recognized by the compiler, it says “glEnable cannot be resolved”. Do I need to use any external libraries for making it to work, I did not used opengl libraries in the current setup because its been told that QT has opengl support by default.

Could any one please help me in this regard?

Thanks in Advance!