I\'m playing around with Qt, and I want to create a simple pause between two commands. However it won\'t seem to let me use Sleep(int mili);, and I can\'t find
Sleep(int mili);
From Qt5 onwards we can also use
Static Public Members of QThread
void msleep(unsigned long msecs) void sleep(unsigned long secs) void usleep(unsigned long usecs)