Qt install OpenGL support in ubuntu
I am newb in Qt. I am having some problem with using openGL in Qt 4. When I try to include <QtOpenGL> or <QGLWidget> , it does not support.
I have added a paramter
QT += opengl in my .pro file. But then also my problem not solved.
I have tested OpenGL in my system with this command :
glxinfo | grep direct
It answered :
direct rendering: Yes
So I assume OpenGL is enabled in my system, but why Qt is not able to include it. I checked "include" directory. 'QtOpenGL' is not there. Even I reinstalled Qt, but same.
So, kindly tell me how to resolve this.
Can you help with this problem?
Provide an answer of your own, or ask Raj Gaurav for more information if necessary.