Introducing Delay In Qt Application
This code snippet shows how to introduce delay in our application using QThread::msleep().
Article Metadata
Tested with
Devices(s): Emulator / desktop / device
Compatibility
Platform(s): All Qt Supported
Article
Keywords: QThread
Created: skumar_rao
(29 Nov 2010)
Last edited: hamishwillee
(11 Oct 2012)
First create a sleeper thread:
You can then use this as shown below:
SleeperThread::msleep(10*1000);


(no comments yet)