$ sudo apt-get install qttools5-dev-tools $ sudo apt-get install qttools5.dev $ sudo apt-get install g++ $ sudo apt-get install libpython-dev $ wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.13/sip-4.19.13.tar.gz $ tar xzvf sip-4.19.13.tar.gz $ cd sip-4.19.13 $ python configure.py $ make -j4 $ sudo make install // Make sure Qt5 is installed: $ qtchooser -list-versions // Select the Qt version: $ export QT_SELECT=qt5 // Check qmake version: $ qmake --version $ wget https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.11.3/PyQt5_gpl-5.11.3.tar.gz $ tar xzvf PyQt5_gpl-5.11.3.tar.gz $ cd PyQt5_gpl-5.11.3 $ python configure.py --no-tools $ make -j4 $ sudo make install // Add to the end of the file ~/.bashrc next line: export PYQTDESIGNERPATH='/usr/lib/python2.7/dist-packages/qtvcp/plugins/'