Dear All,

I am having some problem with using openGL in Qt 4. When I try to include <OpenGL> or <QtGLWidget> but, it does not support.

I have added a paramter
QT += opengl in my .pro file. But then also my problem not solved. I have doubt that my system have the driver for openGl or not? I am using ubuntu 10.4 lts.

So please tell me how will I check that whether my system supports OpenGL or not?
In case if it does not support openGL, how will i install it?

And, finally I need to use <QtGLWidget> & <qgl.h> in program. So how to solve this?

Thanks.