[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Loading Konqueror sidebar plugins using KLibLoader::library()
From:       Krzysztof Lichota <krzysiek () lichota ! net>
Date:       2006-09-24 15:07:44
Message-ID: 45169F40.7090400 () lichota ! net
[Download RAW message or body]


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.

Current implementation of Konqueror sidebar uses KLibLoader::library()
method, which does not make loaded plugin symbols visible.
See:
http://lxr.kde.org/source/KDE/kdebase/konqueror/sidebar/sidebar_widget.cpp?v=3.5-branch#179
and
http://lxr.kde.org/source/KDE/kdebase/konqueror/sidebar/sidebar_widget.cpp?v=3.5-branch#871

Is this done on purpose, due to some policy, performance issues or
something else?
If not, would a patch changing this lines to use
KLibLoader::globalLibrary() be accepted if I create and test it?

Or maybe you could suggest doing something else to make konqueror
sidebar library export its symbols? Currently I have to create
additional "sidebar plugin loader" library for the sole purpose of
loading another library using KLibLoader::globalLibrary().

TIA

	Krzysztof Lichota


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic