How to compile Krita if you have Qt5 installed?

Created by Dmitry Kazakov
Keywords:

cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPRODUCTSET=CREATIVE -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4