Settings module development example does not run
If you take the code from the settings module page, kcmshell5
does not list them. Attached as kcmtest.tar.gz is the sample code for convenience.
Running cmake .. -DCMAKE_INSTALL_PREFIX=~/.local/kde && make -j8 install
succeeds, but kcmshell5 kcm_time
returns Could not find module 'kcm_time'. See kcmshell5 --list for the full list of modules.
Changing CMAKE_INSTALL_PREFIX=~/.local/kde
to CMAKE_INSTALL_PREFIX=~/.local
makes the module visible to kcmshell5
, although the page reports that "the dynamic library could not be found".