????????start启动的
? ? ??? ?if (link.contains(".exe"))
?? ??? ?{
?? ??? ??? ?QString program = "cmd.exe";
?? ??? ??? ?QStringList arguments;
?? ??? ??? ?arguments << "/c" << "start" << link;
?? ??? ??? ?process.start(program, arguments);
?? ??? ?}
?? ??? ?else
?? ??? ?{
?? ??? ??? ?process.start(link);
?? ??? ?}
?? ??? ?process.waitForFinished(-1);
?? ??? ?process.waitForReadyRead();
解决方法见(2)