I have tried following
Qt Code:
QGraphicsView view; QImager img; view.render(&painter); painter,end(); img.save("./image.png");To copy to clipboard, switch view to plain text mode
Problem with this approach is that view does not update before rendering onto painter. Calling view.update() did not help either.
Any help is appreciated.
thanks
Bookmarks