[PATCH] kcmoduleinfo [WAS] Plugin linking problem

David Faure faure at kde.org
Thu Aug 9 22:28:32 BST 2007


On Tuesday 07 August 2007, Rafael Fernández López wrote:
> Now the problem is solved in a very clean way. The same library, say
> "ktexteditor_docwordcompletion" will ship the plugin and the config
> module itself for letting KPluginSelector load it.

So this is about having one plugin with two entry-points, one for the kcm and one for whatever
else the plugin is about? This should work, as long as the entry points are named differently...
but are they? If both use K_EXPORT_COMPONENT_FACTORY then the entry point is called
init_<libname> for both (see klibloader.h), so if it's a single libname there's a clash. What do I miss?

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list