[Qt-interest] QPluginLoader problem

Ender EREL erelender at yahoo.com
Thu Sep 24 08:26:42 CEST 2009


The class where Q_EXPORT_PLUGIN2 macro is used is the root object of the 
plugin. One instance of this is created and this instance is returned 
unless it is destroyed.

I recommend using a factory-pattern-like approach in conjunction with 
Qt's plugin system.

-- 
Ender EREL



More information about the Qt-interest-old mailing list