使用Qprocess的startDetached()方法调用外部exe程序
时间:2015-07-29 18:52:50
收藏:0
阅读:4621
使用Qprocess的startDetached()方法,当前程序关闭时,调用的外部程序能够照常运行。
QProcess::startDetached(
"C:\\Qt\\1.exe"
,QStringList());
记得在头文件中添加
#include <QProcess>,不然编译不通过
原文:http://www.cnblogs.com/begoogatprogram/p/4686855.html
评论(0)