For reference, my ultimate goal is to use a QDeclarativeView with an QGLWidget for the viewport and a QGraphicsScene for the scene with glut calls in drawBackground(QPainter *painter, const QRectF &rect)