Установите QT4-Qmake Ubuntu
sudo add-apt-repository ppa:rock-core/qt4
sudo apt update
sudo apt install qt4-default
sudo apt install qt4-qmake
#to remove it
sudo add-apt-repository --remove ppa:rock-core/qt4
Snippets