Status of kcontrol/kcmshell ?

Matthias Kretz kretz at kde.org
Mon Jan 1 21:18:00 GMT 2007


On Monday 01 January 2007 20:13, Martin Koller wrote:
> Hi,
>
> 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)                            <><
http://Vir.homelinux.org/
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
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070101/4862d03f/attachment.sig>


More information about the kde-core-devel mailing list