What is the best practice for communicating with another thread in Qt?

Posted by George Edison on Stack Overflow See other posts from Stack Overflow or by George Edison
Published on 2010-05-02T06:42:00Z Indexed on 2010/05/02 6:47 UTC
Read the original article Hit count: 223

Filed under:
|
|

I have a QThread derived class that communicates with the main thread by sending QEvents to it.

What is the best way for the main thread to communicate with the second thread?

The main thread has a pointer to the second one.

© Stack Overflow or respective owner

Related posts about qt

Related posts about thread