qt4:调用外部应用程序
QProcess *p=new QProcess(this);
p->start("notepad.exe");
如果需要传递参数给这个程序,就写成这个样子
p->start("notepad.exe c:/abc.txt");
qt4:调用外部应用程序
QProcess *p=new QProcess(this);
p->start("notepad.exe");
如果需要传递参数给这个程序,就写成这个样子
p->start("notepad.exe c:/abc.txt");