您的位置:首页 > 运维架构 > Linux

ubuntu添加qmake 出现错误 qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or

2017-08-14 11:37 806 查看

http://www.cnblogs.com/fuyanwen/p/3953148.html

ubuntu添加qmake 出现错误 qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or
directory

出错原因,没有安装qt4库,/usr/lib/x86_64-linux-gnu/qt4
所以出现错误,
可以安装手动安装qt库
sudo apt-get install qt-sdk
如果自己编译qt库,那就需要手动修改路径
cd /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/
会有一个default.conf配置文件,可以修改默认配置文件为你编译好的qt库路径
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐