KInit Installation Instructions
Download
git clone git://anongit.kde.org/kinit.git
Adapting programs to use kdeinit
The source code of a program does not require any change to take advantage of kdeinit, only the build system needs to be adjusted:
First you need to find the KF5Init package:
find_package(KF5Init 5.0.0 REQUIRED)
Then, instead of declaring your executable and the libraries it links to like this:
add_executable(myexe ${myexe_SRCS}) target_link_libraries(myexe ...)
You must use:
kf5_add_kdeinit_executable(myexe ${myexe_SRCS}) # Note the different target name target_link_libraries(kdeinit_myexe ...)
Browse Source
KInit onĀ cgit.kde.org