After configuring kmymoney with CMAKE_BUILD_TYPE=Debug
or CMAKE_BUILD_TYPE=RelWithDebInfo kmymoney could be
started from build dir with
cd <build-dir>
QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$PWD/lib \
LD_LIBRARY_PATH=$PWD/lib \
bin/kmymoney
To have icons this additional command needs be performed once
cd <build-dir>
make install DESTDIR=$PWD/tmp
kmymoney could then be started with
cd <build-dir>
XDG_DATA_DIRS=$XDG_DATA_DIRS:$PWD/tmp/usr/local/share \
QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$PWD/lib \
LD_LIBRARY_PATH=$PWD/lib bin/kmymoney
https://mail.kde.org/pipermail/kmymoney-devel/2018-September/021720.html