Qt Creator Installation on Ubuntu 18.04
- The following scripts can be written to a bash file named "qtcreator_install.sh".
YELLOW="\e[1;33m"
ENDCOLOR="\e[m"
echo -e "${YELLOW}[Begin to install Qt Creator 4.5.2 & Qt 5.9.5]${ENDCOLOR}"
echo -e "${YELLOW}[Update the package lists]${ENDCOLOR}"
sudo apt update -y
echo -e "${YELLOW}[Install the packages]${ENDCOLOR}"
sudo apt install -y build-essential
sudo apt install -y qtcreator
sudo apt install -y qt5-default
echo -e "${YELLOW}[Install the documents and examples]${ENDCOLOR}"
sudo apt install -y qt5-doc
sudo apt install -y qt5-doc-html qtbase5-doc-html
sudo apt install -y qtbase5-examples
echo -e "${YELLOW}[Installation completed]${ENDCOLOR}"
- Then execute the following command on the terminal.
bash ./qtcreator_install.sh