summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-06-13 19:31:18 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-14 10:11:24 +0200
commit6649171ddc2b7cfa93f9f38169cb307f3289dc85 (patch)
treed1bc36b7dcf41d55429417a9c4642404b2bf2190
parent6da6845f078e419ccb555fe1dd152e0ba82a7e88 (diff)
It should be a moc error for the specified file to not exist.
Currently the missing file is ignored and plugin data is created anyway. Change-Id: I118fd57b7d05a135e3ff58c0298b25e67cd12587 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r--src/tools/moc/moc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/moc/moc.cpp b/src/tools/moc/moc.cpp
index e85aadbba7..aaaf701ea5 100644
--- a/src/tools/moc/moc.cpp
+++ b/src/tools/moc/moc.cpp
@@ -1107,7 +1107,7 @@ void Moc::parsePluginData(ClassDef *def)
msg += "Plugin Metadata file ";
msg += lexem();
msg += " does not exist. Declaration will be ignored";
- warning(msg.constData());
+ error(msg.constData());
return;
}
QFile file(fi.canonicalFilePath());