[Qt-interest] QPixmap: It is not safe to use pixmaps outside the GUI thread
Penn Taylor
penn.taylor at atdeconsulting.com
Tue Jan 26 23:46:58 CET 2010
I have an application that runs a Qt app in a separate thread, renders
the Qt app to a QImage, and then uses the QImage as a texture in an
OpenScenegraph app running back in the main thread. This warning
(error?) is printed out to the console with every frame:
QPixmap: It is not safe to use pixmaps outside the GUI thread
I'm not explicitly using QPixmaps anywhere, and I notice that my dialogs
don't render correctly. The frame around buttons is missing, etc. What
does the warning mean? Is it the source of the missing button frames? Is
this just Qt's internal implicit sharing biting me?
Any help would be appreciated.
-Penn Taylor
More information about the Qt-interest-old
mailing list