Problem with using QGLPainter in QGLWidget
-
hi , i have been trying to use QGLPainter in a class that inherits from QGLWidget ,but it seems that i cant initialize the QGLPainter object using a QGLWidget object as the "Class Reference Says":http://doc.qt.digia.com/qt-quick3d-snapshot/qglpainter.html#QGLPainter-3
so, is there any way to use it in QGLWidget ,cause i want to draw spheres using QGLBuilder and QGLSceneNode and they require a QGLPainter to draw the scene ?
thank you .