有很多Qt多執行緒教程,其中指出可以使用以下兩行安全地停止 QThread 。 qthread.quit(); // Cause the thread to cease. qthread.wait(); // Wait ...
確定! 回上一頁