1. QT開啟外部程序後,當退出時,怎麼關閉
進程關閉外部程序:QString KillStr = "taskkill /f /im main.exe";QProcess *Process = new QProcess(this);Process->start(KillStr);