brew tap kde-mac/kde
brew cask install xquartz
brew cask install inkscape
brew install optipng coreutils cmake kf5-extra-cmake-modules
"$(brew --repo kde-mac/kde)/tools/do-caveats.sh"
git clone https://invent.kde.org/jbbgameich/kaidan --branch=wip-mac
If you get an error about cmake not finding a make executable and/or compiler and xcode -version doesn't work, this might help:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Also be sure that there are no spaces in the file path, because they will not be escaped correctly by cmake.
TODO: Fix generation of Info.plist with cmake: currently the version number and other stuff is empty