20160620 qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such
来源:互联网 发布:java 源码 仓库 编辑:程序博客网 时间:2024/06/11 10:03
需要手动修改路径
cd /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/
会有一个default.conf配置文件,可以修改默认配置文件为你编译好的qt库路径
具体步骤如下:
1、打开终端,sudo su命令切换到root用户;
2、键入如下命令:cd /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/
3、更改default.conf文件内容为qt路径:
/home/kevin/Qt5.6.0/5.6/gcc_64/bin/
/home/kevin/Qt5.6.0/5.6/
4、保存并退出;
5、键入exit命令回到一般用户,键入命令qmake或者qmake -v;出现相关描述信息即配置成功;
QT5编译出现cannot find -lGL和collect2:error:ld r
1、在Ubuntu15.04下安装QT5.3(32位)之后,新建工程,在编译的时候出现以下两个错误:
cannot find -lGL
collect2:error:ld returned 1 exit status
collect2:error:ld returned 1 exit status
2、是由于系统缺少链接库,在终端执行下面两个命令就可以解决问题。
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev freeglut3-dev
Ubuntu15下Qt+libusb开发:http://www.linuxdiyf.com/linux/12686.html
Ubuntu安装Qt开发环境:http://www.linuxdiyf.com/linux/11232.html
0 0
- 20160620 qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such
- qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
- qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory
- qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory
- qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory
- qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
- qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
- qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory 解决方案
- ubuntu添加qmake 出现错误 qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or
- ubuntu添加qmake 出现错误 qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or
- qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake'
- qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qmake': No such file or directory
- 安装最新的qt5.5.1,在使用qmake -v 出现qmake -v could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No su
- QT5.4.1找不到qmake: qmake: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/qmake': No such file or dire
- CGAL--No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so'
- make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so'
- No rule to make target '/usr/lib/x86_64-linux-gnu/libproj.so 解决方法
- qt4--qmake
- 使用video.js播放视频
- GC调优在Spark应用中的实践
- Vuforia学习推荐
- QC缺陷字段,级别,流程图,人员修改规范管理
- RNN学习(二) 一些常见的RNN
- 20160620 qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such
- [Java并发包学习一]Excutors和Threads
- Linux 查看新增删除用户和用户组
- 实时显示碎片数量
- 理解Oauth2.0
- IOS 数据库管理系统(SQLite)
- IE和火狐兼容href的问题
- 文件系统缓存dirty_ratio与dirty_background_ratio两个参数区别
- android 各类常用框架大全(不全)