[Qt-interest] problems with threads

Andrei Sebastian Cimpean andreiamenta at gmail.com
Sat Oct 31 15:03:50 CET 2009


Hello everybody... I am getting this errors:
QPixmap: It is not safe to use pixmaps outside the GUI thread
QObject::installEventFilter(): Cannot filter events for objects in a different 
thread.
QObject::installEventFilter(): Cannot filter events for objects in a different 
thread.
QObject::installEventFilter(): Cannot filter events for objects in a different 
thread.
QObject::installEventFilter(): Cannot filter events for objects in a different 
thread.
QObject::installEventFilter(): Cannot filter events for objects in a different 
thread.

When i run my app and display a dialog box in another thread. I searched for 
how to fix it on the web but unfortunately i couldn't find any. How could i fix 
this? Has anyone run into this problem before?
In essence what i am doing is, when you want to paste something at a 
destination, you start a new thread, and if you have duplicates there, a 
dialog box appears in the same thread waiting for your decision...

Thank you in advance for your time.

Andrei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091031/b3034a70/attachment.bin 


More information about the Qt-interest-old mailing list