how to write kded module in framework 5

Alex Merry alex.merry at kde.org
Mon Mar 17 10:54:56 UTC 2014


On 15/03/14 22:55, Shivam Makkar wrote:
> Hello fellow developers ! :)
> 
> I am noob in kde and hacking keyboard module these days !
> 
> I tried to instantiate object of class keyboardDaemon and I got this
> error : 
> 
> In file included from
> /home/amourphious/kde-workspace/kcontrol/keyboard/kcm_keyboard.cpp:37:0:
> /home/amourphious/kde-workspace/kcontrol/keyboard/keyboard_daemon.h:27:24:
> fatal error: kdedmodule.h: No such file or directory
>  #include <kdedmodule.h>

Have you got KF5::DBusAddons in your target_link_libraries() for this code?

Alex



More information about the Kde-frameworks-devel mailing list