forked from qt-creator/qt-creator
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: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
@@ -1753,7 +1753,7 @@ bool QMakeEvaluator::evaluateFile(
|
|||||||
return ok;
|
return ok;
|
||||||
} else {
|
} else {
|
||||||
if (!(flags & LoadSilent) && !IoUtils::exists(fileName))
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1804,7 +1804,7 @@ bool QMakeEvaluator::evaluateFeatureFile(const QString &fileName, bool silent)
|
|||||||
goto cool;
|
goto cool;
|
||||||
#endif
|
#endif
|
||||||
if (!silent)
|
if (!silent)
|
||||||
languageWarning(fL1S("Cannot find feature %1").arg(fileName));
|
evalError(fL1S("Cannot find feature %1").arg(fileName));
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
cool:
|
cool:
|
||||||
|
Reference in New Issue
Block a user