qmake not exec in ubuntu
Description
Today, I want to run qmake
command in terminal, but, it has error message such qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory". I know the system has the wrong search path. But, how to correct it?
Ways.
From the CSDN, He said i should to insert this line content "/home/xxx/Qt5.8.0/5.8/gcc_64/bin" before this file "/usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf". so, i goto the directory and to saw the file. but, it is a link file. it points to "/usr/share/qtchooser/qt4-x86_64-linux-gnu.conf".
If you try to modify the "default.conf" file, the system will tell you can not do that. so, in fact, you should to modify "qt4-x86_64-linux-gnu.conf" file under /usr/share/qtchooser/. at the same time, there has "qt5-x86_64-linux-gnu.conf" file under the same directory. they have the same content.
other
I also tried to modify .bashrc file, and want to add the qmake
path to PATH environment variable, but, it not work.
最新文章
- github设置只识别指定类型的文件
- HTML 父窗口打开子窗口,并从子窗口返回值
- hdu 1548 楼梯 bfs或最短路 dijkstra
- Fresco 使用笔记(一):加载gif图片并播放
- DLL分类
- BI如何让企业管理从信息化迈向智能化 ——暨珠海CIO协会成立大会圆满召开
- WPF的Application类
- 第一次比赛的 C题 (好后面才补的....) CodeForces 546B
- Sublime Text 超好用的侧栏插件SideBarEnhancements
- solr4.9r+ Eclipse 4.3+ tomcat 7.5 +winds7(二)
- 先从_proto_下手理解原型--原型学习(一)
- LVS-NAT模式的配置详解
- alpha冲刺第七天
- C语言--第七周作业
- requests和session的区别
- brace源码改造实现跨服务器监控-zjs
- Python-10行代码实现3个数据可视化
- 关于visual studio code在win10系统上安装后会报扩展宿主意外终止的解决方法
- element-ui inputNumber、Card 、Breadcrumb组件源码分析整理笔记(三)
- Git - 使用BitBucket和SourceTree进行源代码管理遇到POST git-receive-pack (chunked)