PDA

View Full Version : Problem whit QThread



XavierQT
6th October 2009, 05:09
warning: ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 4941008. Receiver 'MainWindowClass' (of type 'MainWindow') was created in thread 3e4100", file kernel\\qcoreapplication.cpp, line 296

yogeshgokul
6th October 2009, 06:32
This is clear, you can send/receive event to/from same event loop.
and if its a GUI app, better to use QApplication::sendEvent().