I know we can not put main thread in sleep, But I have tried for sleep method i did not find it & I found it in QThread only.
I can understand that as we should not put main thread in sleep that may be the reason we don't have sleep for main thread.
But is sleep() available to put main thread ideal for a while ?? // I struggled a lot to find sleep but could not