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?
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?
What do you mean with "hangs"?
There is nothing in the posted code that would "hang" the thread executing it.
Cheers,
_
Bookmarks