May be QGraphicsView::render will help you