montamer
7th April 2011, 03:23
Hi
I am new to qt, I want to run a piece of code when no other gui/other activity is running. So I created a thread with QThread::IdlePriority(mentioned in the documentation). But the thread is still running when i put a while loop in my main application. I am attaching a sample project. where am I going wrong? Please suggest pointers to achieve the same.
6197
thanx
I am new to qt, I want to run a piece of code when no other gui/other activity is running. So I created a thread with QThread::IdlePriority(mentioned in the documentation). But the thread is still running when i put a while loop in my main application. I am attaching a sample project. where am I going wrong? Please suggest pointers to achieve the same.
6197
thanx