[Development] Q_PLUGIN_METADATA without FILE
Peter Kümmel
syntheticpp at gmx.net
Sun Aug 26 20:25:03 CEST 2012
On 26.08.2012 20:14, Peter Kümmel wrote:
> http://doc-snapshot.qt-project.org/5.0/qtplugin.html#Q_PLUGIN_METADATA
>
> When Q_PLUGIN_METADATA() is used with a FILE name which doesn't
> exist, moc throws an error, but when FILE isn't present at all
> moc silently doesn't generate the pluginMetaData[]s.
> Isn't this a bug?
>
False alarm. But the docu doesn't mention that FILE is optional.
Peter
More information about the Development
mailing list