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>
This commit is contained in:
parent
6da6845f07
commit
6649171ddc
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user