pyqt how to stop qthread?
QThread will notifiy you via a signal when the thread is started() and finished() , or you can use isFinished() and isRunning() to query the state of the thread. You can stop the thread by calling exit() or quit() . In extreme cases, you may want to forcibly terminate() an executing thread.