title: Precise interval in QThread
body: <p>I have written a thread in Qt that does lot of things (calculations, data sampling, ...).<br>
  This thread has to be run in an interval of 1000ms.<br>
  The allowed error with the timer is about 5ms.<br>
  I have changed the priority of the thread to <code>QThread::HighPriority</code> but the thread runs in interval about to 1060ms-1100ms.<br>
  How can I make the interval more precise? (I have subclassed QThread and used <code>msleep(interval)</code> in the <code>run()</code> method).</p>