an up-to-date krita requires the latest stuff from kde5 which are unfortunately not available for the stable slackware 14.2.
I think your best bet is to install
flatpak (and its dependencies, all available from slackbuilds.org) and then use it to download and install
the latest
krita from flathub.