Commit da62508d authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

raise priority of messages about include files & features not being found

they aren't actually a warnings, even if the one about includes says so.
in qmake it is possible to suppress it by disabling *all* warnings, but
that makes no sense.

Change-Id: I16121f7aff0836d516139927333bd2df1f599dda
Reviewed-by: default avatarDaniel Teske <>
Reviewed-by: default avatarOswald Buddenhagen <>
parent 5c96be2b
......@@ -1753,7 +1753,7 @@ bool QMakeEvaluator::evaluateFile(
return ok;
} else {
if (!(flags & LoadSilent) && !IoUtils::exists(fileName))
languageWarning(fL1S("Include file %1 not found").arg(fileName));
evalError(fL1S("WARNING: Include file %1 not found").arg(fileName));
return false;
......@@ -1804,7 +1804,7 @@ bool QMakeEvaluator::evaluateFeatureFile(const QString &fileName, bool silent)
goto cool;
if (!silent)
languageWarning(fL1S("Cannot find feature %1").arg(fileName));
evalError(fL1S("Cannot find feature %1").arg(fileName));
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment