QGraphicsScene rendering to a Pixmap
Unsolved
General and Desktop
-
-
@DonCoder said in QGraphicsScene rendering to a Pixmap:
I am capturing the Pixmap at resolution 8K * 6K
That is a very large pixmap.
QGraphicsScene/QGraphicsView uses CPU rendering, which is slow. Consider a different method that uses GPU rendering.
How are you capturing the pixmap?
I think Pixmap rendering cannot be done using non Gui Thread
That's correct.
QPixmap
is tied to GUI resources which are not thread-safe, so it can only be used in the GUI thread.QImage
can be used from a non-GUI thread, however.