通过QProcess实现启动另一个程序

QProcess *process = new QProcess;
QStringList msglist;
//process->start(“C:\Program Files (x86)\calc.exe”, msglist);
process->start(exeDirPath + “\” + test.exe, msglist);

你可能感兴趣的:(Qt,编程,c++,qt)