Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
None
Description
Trying to paint a QPixmap from a thread other than the main fails with error "QPixmap: It is not safe to use pixmaps outside the GUI thread" even when the usage is perfectly safe (rendering to a QImage for example).
This is blocking threaded WebKit rendering (http://bugreports.qt.nokia.com/browse/QTWEBKIT-19). The only alternative would be to change all QPixmaps in QtWebKit to QImages.
QTBUG-7848 was suggested that there should be some sort of API for this. Re-filing as requested, but for me the existence of an API is completely secondary.