PDA

View Full Version : Sleep condition in QT



santhoshv84
18th July 2008, 11:20
Hi Friends,

Is there any API like Sleep() and SleepEx() like in VC++ in QT.

Thanks in advance..

jpn
18th July 2008, 12:07
You can sleep in a worker thread using static protected method QThread::sleep() but not in the GUI thread because it would freeze the whole application. What do you need it for?