ubuntu18.04安装qt5.9

1.下载

下载网址Index of /archive/qt/5.9/5.9.9

 或者用命令下载

wget https://download.qt.io/archive/qt/5.9/5.9.9/qt-opensource-linux-x64-5.9.9.run

2、安装 QT5.9.9
调整权限

chmod +x qt-opensource-linux-x64-5.9.9.run

安装 g++ (若没有安装过g++,则安装,安装过执行也无影响)

sudo apt-get install build-essential

安装通用字体配置库- runtime

sudo apt-get install libfontconfig1

执行安装

./qt-opensource-linux-x64-5.9.9.run
  • 登录或者注册(已有账号直接登录,没有账号要先注册)
  • 选择安装Qt5.9.9的目录
  •  选择所需要安装的组件

  •  接受许可协议
  • 点击安装

转载自:ubuntu18.04 安装qt5.9.9_ScorpioMan_Rf的博客-CSDN博客

猜你喜欢

转载自blog.csdn.net/lian740930980/article/details/126471224