So, if you use my package, I've made it the debian-way (meaning inside a chroot) to ensure that it's working for all Debian Jessie systems (64 and 32 bits).
About the errors you got, I'm not sure. The packages related to Qt5 you need are: libqt5x11extras5-dev, qtbase5-dev, and qttools5-dev-tools. Did you have them all installed?
apt-get install -y libqt5x11extras5-dev qtbase5-dev qttools5-dev-tools