最近,我遇到了这个问题,正如我在本标题中所记得的那样.我已经尝试过使用QThread :: terminate(),但我无法阻止线程,这是一个死循环(让我们说,while(1)).
非常感谢.
qt qthread
qt ×1
qthread ×1