diff --git a/src/shared/proparser/qmakeevaluator.cpp b/src/shared/proparser/qmakeevaluator.cpp index 885caf6d71b..377a3d605cf 100644 --- a/src/shared/proparser/qmakeevaluator.cpp +++ b/src/shared/proparser/qmakeevaluator.cpp @@ -1752,7 +1752,7 @@ bool QMakeEvaluator::evaluateFile( #endif return ok; } else { - if (!(flags & LoadSilent) && IoUtils::exists(fileName)) + if (!(flags & LoadSilent) && !IoUtils::exists(fileName)) languageWarning(fL1S("Include file %1 not found").arg(fileName)); return false; }