############# Building and running: #############

mkdir build && cd build
cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr ..
# Alternatly for Debugging : cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX:PATH=/usr ..
make && sudo make install

The runner is run through krunner, if you want to see console debugging output, build for debugging and run:
killall krunner ; krunner

Note that you have to go into the configuration menu and add some directories to scan.

############# Running krunners in valgrind: #############
Start krunner, go into settings and disable my addon, run valgrind with:
valgrind --leak-check=yes --trace-children=yes --gen-suppressions=all --log-file=valgrind.log krunner

Let krunner start fully, open it once, open the plugin list once, then close everything.
 - doesn't hurt to pull up configuration dialogs for something as well, just to include KConfig
killall valgrind
grep -v '==' valgrind.log > valgrind.supp


start krunner normally and enable fsrunner
killall krunner

valgrind --leak-check=yes --trace-children=yes --suppressions=valgrind.supp krunner

