I want to remove all .exe files before compiling a make file. I used the following lines to do that but it doesn't work. What is the problem with QProcess? Is there any other solution to this? Please help.
QProcess del;
del.start("rm", QStringList() << outputPath + "/" + "*.exe"); //Removing all .exe files in outputPath.
del.waitForFinished(-1);
Please help.