From da62508d7845897009502c4721663c6d579c106a Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 28 Aug 2012 22:17:03 +0200 Subject: [PATCH] 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 Reviewed-by: Oswald Buddenhagen --- src/shared/proparser/qmakeevaluator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/proparser/qmakeevaluator.cpp b/src/shared/proparser/qmakeevaluator.cpp index 377a3d605cf..4cbb75ef3bc 100644 --- a/src/shared/proparser/qmakeevaluator.cpp +++ b/src/shared/proparser/qmakeevaluator.cpp @@ -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; #endif if (!silent) - languageWarning(fL1S("Cannot find feature %1").arg(fileName)); + evalError(fL1S("Cannot find feature %1").arg(fileName)); return false; cool: