From 6649171ddc2b7cfa93f9f38169cb307f3289dc85 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 13 Jun 2012 19:31:18 +0200 Subject: 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 --- src/tools/moc/moc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3