hi all,
i have included <QGLWidget> in my program but while make, its giving a problem as :
In file included from form.h:5,
from form.cpp:2:
glwidget.h:5:21: error: QGLWidget: No such file or directory
glwidget.h:8: error: expected class-name before ‘{’ token
glwidget.h:36: error: ‘GLuint’ does not name a type
glwidget.h:37: error: ‘GLdouble’ has not been declared
glwidget.h:37: error: ‘GLdouble’ has not been declared
glwidget.h:37: error: ‘GLdouble’ has not been declared
glwidget.h:37: error: ‘GLdouble’ has not been declared
glwidget.h:38: error: ‘GLdouble’ has not been declared
glwidget.h:38: error: ‘GLdouble’ has not been declared
glwidget.h:38: error: ‘GLdouble’ has not been declared
glwidget.h:38: error: ‘GLdouble’ has not been declared
glwidget.h:39: error: ‘GLdouble’ has not been declared
glwidget.h:39: error: ‘GLdouble’ has not been declared
glwidget.h:39: error: ‘GLdouble’ has not been declared
glwidget.h:39: error: ‘GLdouble’ has not been declared
glwidget.h:42: error: ‘GLuint’ does not name a type
glwidget.h:8: warning: ‘class GLWidget’ has virtual functions but non-virtual destructor
form.cpp: In constructor ‘MainWindow::MainWindow(QMainWindow*)â€℠¢:
form.cpp:41: error: ‘class GLWidget’ has no member named ‘setGeometry’
make: *** [form.o] Error 1
[root@localhost 2and3D]#

though i have include QT += opengl in .pro file (is there any implicit way to include this using qmake???)
and all the files are there in the Qt installation directory as they are on indos too. no file is missing. all paths are set.. only the QGLWidget thing is giving problem.
Can any1 tel me that is it a diff way to do the same on linux coz the same is working properly on windows.
Thanks