View Full Version : how to sleep with qt function?
yleesun
5th August 2008, 05:05
I want sleep a few seconds in my program ,how can i do ?
not use win32 function sleep
kemp
5th August 2008, 06:48
Hi!
You should take a look at QThreads msleep function
http://doc.trolltech.com/4.4/qthread.html#msleep
jpn
5th August 2008, 12:08
Just keep in mind that it's a very bad idea to sleep in a GUI application. Please search the forums next time. This has been asked many many times before.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.