Re: [Development] Q_PLUGIN_METADATA without FILE

2012-08-26 Thread Peter Kümmel
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[]

[Development] Q_PLUGIN_METADATA without FILE

2012-08-26 Thread Peter Kümmel
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? Peter __