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.


最新文章

  1. github设置只识别指定类型的文件
  2. HTML 父窗口打开子窗口,并从子窗口返回值
  3. hdu 1548 楼梯 bfs或最短路 dijkstra
  4. Fresco 使用笔记(一):加载gif图片并播放
  5. DLL分类
  6. BI如何让企业管理从信息化迈向智能化 ——暨珠海CIO协会成立大会圆满召开
  7. WPF的Application类
  8. 第一次比赛的 C题 (好后面才补的....) CodeForces 546B
  9. Sublime Text 超好用的侧栏插件SideBarEnhancements
  10. solr4.9r+ Eclipse 4.3+ tomcat 7.5 +winds7(二)
  11. 先从_proto_下手理解原型--原型学习(一)
  12. LVS-NAT模式的配置详解
  13. alpha冲刺第七天
  14. C语言--第七周作业
  15. requests和session的区别
  16. brace源码改造实现跨服务器监控-zjs
  17. Python-10行代码实现3个数据可视化
  18. 关于visual studio code在win10系统上安装后会报扩展宿主意外终止的解决方法
  19. element-ui inputNumber、Card 、Breadcrumb组件源码分析整理笔记(三)
  20. Git - 使用BitBucket和SourceTree进行源代码管理遇到POST git-receive-pack (chunked)

热门文章

  1. SQL语句操作全集
  2. laravel的blade模板的布局嵌套
  3. centos7 yum 安装mysql
  4. python高手的自修课
  5. 使用wifi网卡笔记5---AP模式
  6. EntityFramework 更新数据库字段的三种方法
  7. zabbix 报警方式之 邮件报警(4)
  8. day9-IO心得
  9. 初学者上传文件到github
  10. python学习——练习题(9)