title: How can I terminate a QThread
body: <p>Recently ,I come across this problem as I memtioned in this Title.
  I have tried by using QThread::terminate(),but I just can NOT stop 
  the thread ,which is in a dead loop (let's say,while(1)).</p>
  
  <p>thanks a lot.</p>