plugin loading (was: kcmoduleinfo / Plugin linking problem)

David Faure faure at kde.org
Mon Aug 13 15:23:44 BST 2007


On Sunday 12 August 2007, Matthias Kretz wrote:
> Hi,
> 
> 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
Looks good.

> 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.
I think this was discussed before, and the gain isn't big compared to the porting effort imho.

-- 
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