ubuntu安装QT5.7

xiaoxiao2021-02-28  125

一.下载和安装

wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run 下载后给执行权限

chmod +x qtxxxx.run 安装 ./qtxxxx.run 二.配置环境

1.安装g++

sudo apt-get install build-essential 2.安装依赖库

sudo apt-get install libfontconfig1 3.安装 OpenGL

sudo apt-get install mesa-common-dev 以及依赖

sudo apt-get install libglu1-mesa-dev -y 4.配置

打开qt creator 工具->选项->构建&运行->编译,选择编译器

转载请注明原文地址: https://www.6miu.com/read-21473.html

最新回复(0)