title: Sleep in Qt 5.6
body: <p>I am writing a game using Qt 5.6 and I need to use method <code>sleep()</code>.</p>
  
  <p>Are there any Qt modules that include <code>sleep</code> function instead of <code>QThread::sleep()</code>? Because I don't think that using <code>QThread</code> library for the single method is a good practice.</p>
  
  <p>Also, using <code>QTest::qSleep()</code> gives me a compiler error - <code>undefined reference to 'QTest::qSleep(int)'</code>.</p>
  
  <p>Are there any other possibilities to use method <code>sleep()</code> in Qt style?</p>