title: how to sleep in Qt4
body: <p>I just found it is NOT easy to make a <strong>sleep</strong> call in <strong>Qt4</strong>. I wrote some code in <strong>Qt5</strong> and have few <code>QThread::msleep()</code> calls in my <code>main()</code> and other places. I want to convert those code to <strong>Qt4</strong> but cannot find an easy way to convert these <strong>msleep</strong> calls.</p>
  
  <pre><code>error: C2248: 'QThread::msleep' : cannot access protected member declared in class 'QThread'
  </code></pre>
  
  <p>Somebody suggested subclass the QThread class. Why I need to go that far?  no simple way to just sleep a while?</p>