解决办法:
QProcess * procces = new QProcess(this);
procces->start("\"E:\\qt preject\\build-untitled-Desktop_x86_windows_msys_pe_64bit-Debug\\debug/untitled.exe\"");
QProcess start()方法调用外部程序路径带空格
最新推荐文章于 2024-02-22 11:06:50 发布
解决办法:
QProcess * procces = new QProcess(this);
procces->start("\"E:\\qt preject\\build-untitled-Desktop_x86_windows_msys_pe_64bit-Debug\\debug/untitled.exe\"");