Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在编译 make 文件之前删除所有 .exe 文件。我使用以下几行来做到这一点,但它不起作用。QProcess 有什么问题?有没有其他解决方案?请帮忙。
QProcess del; del.start("rm", QStringList() << outputPath + "/" + "*.exe"); //Removing all .exe files in outputPath. del.waitForFinished(-1);
请帮忙。