Status of kcontrol/kcmshell ?
kretz at kde.org
Mon Jan 1 21:18:00 GMT 2007
On Monday 01 January 2007 20:13, Martin Koller wrote:
> I wanted to check my kcontrol module "joystick" in KDE4, but trying to
> launch it with
> kcmshell joystick
> gives me an error about KLibrary: QLibrary::resolve_sys:
> Symbol "create_kcm_joystick" undefined ...
> Checking with nm, there is no such function, and what I see from klibloader
> in the macro K_EXPORT_COMPONENT_FACTORY still creates a "init_..."
> function. Why is kcmshell trying to find a "create_..." function ?
kcmshell first tries the init_ function and then falls back to the create_
function. Therefore the last error message from KLibLoader mentions the
create_ function only.
> What do I have to fix ?
The .desktop file say X-KDE-FactoryName=kcm_joystick but the symbol is called
init_joystick. You either have to change the X-KDE-FactoryName to joystick or
the init symbol to init_kcm_joystick.
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: 189 bytes
Desc: not available
More information about the kde-core-devel