You need to finish the painting before trying to read the buffer (or it will not be finished until the painter is destroyed, which is after you read).
Qt Code:
scene.render( &painter ); painter.end();To copy to clipboard, switch view to plain text mode
Bookmarks