linux安装Qt5.9

2020-10-23 21:58:19  阅读 2678 次 评论 0 条

下载

资源下载网址:http://download.qt.io/official_releases/qt/5.9/5.9.5/
这里我选择的是 qt-opensource-linux-x64-5.9.5.run

root进去

20181006184126467.png

sudo passwd root

su
进入root后


echo "/home/jinesc/Qt5.12.9/5.12.9/gcc_64/lib" >> /etc/ld.so.conf
echo "/home/jinesc/Qt5.12.9/Tools/QtCreator/lib" >> /etc/ld.so.conf
cat /etc/ld.so.conf
ldconfig


linux中安装gcc和g++

sudo apt-get install build-essential 

error: GL/gl.h: 没有那个文件或目录

sudo apt-get install mesa-common-dev
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev


本文地址:https://jinesc.net/?id=203
版权声明:本文为原创文章,版权归 jinesc 所有,欢迎分享本文,转载请保留出处!

发表评论


表情

还没有留言,还不快点抢沙发?