Qt install OpenGL support in ubuntu
Asked by
Raj Gaurav
Dear All,
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.
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu qt4-x11 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Raj Gaurav for more information if necessary.
To post a message you must log in.