plugin loading (was: kcmoduleinfo / Plugin linking problem)

Thomas Zander zander at kde.org
Mon Aug 13 16:57:29 BST 2007


On Sunday 12 August 2007 12:44:42 Matthias Kretz wrote:
> attached you'll find some code examples of the current way our KDE
> plugin code works (please correct me if I'm wrong there) and some code
> how I think it could look. There's no way to support one export macro
> per plugin class if we want to use Q_EXPORT_PLUGIN2 so my suggestion
> uses one factory class per DSO
[]

I could not follow this topic fully, is this mostly for storing two items 
into one plugin?
KOffice has a KoPluginLoader that may be interresting to read up on.  It 
would be good to know that that stuff keeps on working :)

> While going over it I found one thing which I think we should change in
> any case: the "const QStringList &args" parameter should be a "const
> QVariantList &args" instead.

Thats fine with me either way; koffice doesn't use them anyway.

-- 
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070813/1d13f42c/attachment.sig>


More information about the kde-core-devel mailing list