<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ah -- OK. That's cheating :)<br>The first argument to K_EXPORT_COMPONENT_FACTORY is supposed to be the libname,
<br>but in this case it's something else. </blockquote><div><br>That is what it was supposed to be, but no. The documentation there I think wasn't very clear. Is the FactoryName. What happens is that in case that the X-KDE-FactoryName is missed in a .desktop file, X-KDE-Library is taken in its place. So yeah, it is the library in the case that X-KDE-FactoryName is not provided on the .desktop file. 
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">#  define Q_EXPORT_PLUGIN2(PLUGIN, PLUGINCLASS)      \<br>            Q_PLUGIN_VERIFICATION_DATA \
<br>            Q_EXTERN_C Q_DECL_EXPORT \<br>            const char * Q_STANDARD_CALL qt_plugin_query_verification_data() \<br>            { return qt_plugin_verification_data; } \<br>            Q_EXTERN_C Q_DECL_EXPORT QObject * Q_STANDARD_CALL qt_plugin_instance() \
<br>            Q_PLUGIN_INSTANCE(PLUGINCLASS)<br>So surely this doesn't allow to export more than one plugin from a plugin-library, does it?</blockquote><div><br>Hmm... is a pity. It was really nice a library could provide more than one service (call it plugin, kcmodule, or whatever). So, I commit my changes for Monday or I leave them ?
<br><br>I think we could do something on KDE for allowing a library provide more than one service, that sounds a bit poor to me :(<br></div></div><br><br>Bye and thanks,<br>Rafael Fernández López.