Do you start the event loop in that new thread (i.e. do you invoke QThread::exec() in run() )?Originally Posted by freak
Do you start the event loop in that new thread (i.e. do you invoke QThread::exec() in run() )?Originally Posted by freak
I do call exec() inside run.
How do you make a connection explicitly?
Originally Posted by freak
Qt Code:
connect( tcpServer, SIGNAL( newConnection() ), this, SLOT( processpacket() ), Qt::DirectConnection );To copy to clipboard, switch view to plain text mode
Bookmarks