PDA

View Full Version : App hangs on Starting a Thread



parshant65@gmail.com
21st March 2014, 09:44
My dialog hangs on running a thread from constructor. Below is code

pThread = new QThread;
connect(pThread, SIGNAL(started()), this, SLOT(StartDisplay()));
pThread->start();

Please suggest what is wrong?

anda_skoa
21st March 2014, 13:29
What do you mean with "hangs"?

There is nothing in the posted code that would "hang" the thread executing it.

Cheers,
_