下载
资源下载网址:http://download.qt.io/official_releases/qt/5.9/5.9.5/
这里我选择的是 qt-opensource-linux-x64-5.9.5.run
root进去
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
发表评论