最近新装了ubuntu 14.04,然后装了新版本的QT5.9,但新建project运行编译是报错“Could not determine which “make” command to run。这是由于新安装的ubuntu缺少cmake及g++造成的。
通过命令
[c]
sudo apt-get install cmake g++
[/c]
进行安装。
然后在”选型“里的”构建和运行“这一项,对”构建套件 Kit“进行重新设置。
编译完成后运行,又报一个错”cannot find -lGL“
[c] sudo apt-get install libgl1-mesa-dev[/c] 安装对应的包即可解决问题。 wechat
原创文章,转载请注明: 转载自 https://www.mr-wu.cn
本文链接地址: qt5.9在ubuntu 14.04上报错Could not determine which “make” command to run及cannot find -lGL https://www.mr-wu.cn/qt5-9-ubuntu-14-04-could-not-determine-which-make-command-to-run/