diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-06-13 19:31:18 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-14 10:11:24 +0200 |
commit | 6649171ddc2b7cfa93f9f38169cb307f3289dc85 (patch) | |
tree | d1bc36b7dcf41d55429417a9c4642404b2bf2190 /src/tools | |
parent | 6da6845f078e419ccb555fe1dd152e0ba82a7e88 (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>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/moc/moc.cpp | 2 |
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()); |