I am surprised the there is no qt-way of doing it in platform-independent manner.
Will this hack work?
Qt Code:
{ public: static void mysleep(int ms) { return sleep(ms); } };To copy to clipboard, switch view to plain text mode
I am surprised the there is no qt-way of doing it in platform-independent manner.
Will this hack work?
Qt Code:
{ public: static void mysleep(int ms) { return sleep(ms); } };To copy to clipboard, switch view to plain text mode
Considering QThread::sleep() calls ::Sleep, I'd have to say yes.
Bookmarks