warning user when make program no exists.

This commit is contained in:
Roy Qu 2022-12-16 09:10:39 +08:00
parent 47e40d2f8e
commit b6b046b0e2
1 changed files with 4 additions and 0 deletions

View File

@ -529,6 +529,10 @@ bool ProjectCompiler::prepareForCompile()
mCompiler = compilerSet()->make();
if (!fileExists(mCompiler)) {
throw CompileError(tr("Make program '%1' doesn't exists!").arg(mCompiler));
}
QString parallelParam;
if (mProject->options().allowParallelBuilding) {
if (mProject->options().parellelBuildingJobs==0) {