https://download.qt.io/official_releases/qt/5.12/5.12.2/
sudo apt-get install build-essential sudo apt-get install libqt4dev sudo apt-get install g++ sudo apt-get install libx11-dev libxext-dev libxtst-dev sudo apt-get install xlibmesa-gl-dev libglu1-mesa-dev
./qt-opensource-linux-x64-5.12.2.run
一路next即可,注册账号的步骤可跳过
原文:https://www.cnblogs.com/SystemCall/p/10629708.html