hi,
i have created 3D pyramid by using QGLWidget and handled paintEvent() instead of paintGL() as i am adding the QGLWidget to QGraphicsScene.This code is working fine on Windows but same is not working on Linux(Fedora core 6) and Mac OS X(10.4.7 Tiger) platforms.

In paintEvent i am doing grabFrameBuffer and drawing the image by using Qpainter.

regards,
~sanjay