sudo apt-get install qt5-qmake qtbase5-dev libbotan1.10-dev #skip this part if you've already installed these packages dpkg-buildpackage -uc -us -b
sudo apt-get install qt5-qmake qtbase5-dev libqrencode-dev libqtshadowsocks-dev libappindicator-dev libzbar-dev libbotan1.10-dev dpkg-buildpackage -uc -us -b
References :
https://github.com/shadowsocks/libQtShadowsocks/wiki/Installation
https://github.com/shadowsocks/shadowsocks-qt5/wiki/Installation
https://github.com/shadowsocks/libQtShadowsocks/wiki/Compiling
https://github.com/shadowsocks/shadowsocks-qt5/wiki/Compiling