install qt 4.7 ubuntu code example
Example: install 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
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