new file:   qt_thread
  test qt thread and how to exit program when thread is running.