Loading Konqueror sidebar plugins using KLibLoader::library()
kretz at kde.org
Tue Sep 26 10:24:42 BST 2006
On Tuesday 26 September 2006 10:53, David Faure wrote:
> On Sunday 24 September 2006 17:07, Krzysztof Lichota wrote:
> > I have come across the following problem: my Konqueror sidebar plugin
> > has to export some symbols from its library to be used in its plugins.
> So you have a plugin which itself has plugins? Interesting ;)
Well, we've had that all the time with KPartsplugins as well :-)
> globalLibrary() has always been said to be "the right thing to do".
I thought it was the opposite. globalLibrary was to be considered as a
> So I wouldn't object to it being used there, as long as you check that it
> still all works - e.g. that the current plugins don't have symbol conflicts
> with the rest of the code [or with each other?].
A better fix would be to put the "public" parts of the sidebar plugin into a
shared lib and let both the sidebar plugin and the the plugin to the sidebar
plugin link to that lib.
Matthias Kretz (Germany) <><
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: not available
More information about the kde-core-devel