Ubuntu系统通过命令行下载QT5

sudo apt install g++

sudo apt install clang

sudo apt install make

sudo apt install make-guile

sudo snap install cmake --classic

sudo apt-get install build-essential

sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase-dev-tools

sudo apt-get install qtcreator

sudo apt-get install qtbase5-dev

若最后一句出现问题,可加上:

sudo apt autoremove

你可能感兴趣的:(linux,ubuntu)