linux下Qt5.14.2安装
=======================================
linux下 Qt5.14.2安装
下载Qt安装包
官网下载速度较慢,可以从国内镜像下载。
清华大学:https://mirrors.tuna.tsinghua.edu.cn/qt/
中国科学技术大学:http://mirrors.ustc.edu.cn/qtproject/
中国互联网络信息中心:https://mirrors.cnnic.cn/qt/
安装包名称:qt-opensource-linux-x64-5.14.2.run
./qt-opensource-linux-x64-5.14.2.run安装好后,还需要一些配置才能开始开发。
配置
安装g++、gcc编译器
sudo apt-get install build-essential
安装OpenGL库
sudo apt-get install mesa-common-dev
如果没有OpenGL库会报can't find -lGL错误。
————————————————
版权声明:本文为CSDN博主「从此开始低调范✌️」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_45164331/article/details/122533865