how to install qt on ubuntu code example

Example 1: install Qt5 ubuntu 20.04

sudo apt-get install build-essential
sudo apt-get install qtcreator
sudo apt-get install qt5-default

Example 2: 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

Example 3: how to install qemu on ubuntu

$ sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils