qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory

执行

qmake -v

出现错误:qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory

分析:
qtchooser默认选择路径中没有指向qmake路径

解决方法:

cd /usr/lib/x86_64-linux-gnu/qt-default/qtchooser
sudo  rm default.conf

重新安装Pyqt5

sudo apt-get install qt5-default
sudo apt-get install qttools5-dev-tools

qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory

原文地址:https://www.cnblogs.com/Qing-Bo/p/10159362.html

时间: 2024-10-04 16:36:52

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 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库路径 ubuntu添加qmake 出现错误 qmake: could not exec '/

-bash: /usr/local/Java/jdk1.8.0_241/bin/java: No such file or directory

错误: [[email protected] Java]# java -version -bash: /usr/local/Java/jdk1.8.0_241/bin/java: No such file or directory 原因:64位操作系统装了32为,重新装一个64位即可,在Linux中64位只能装64位 Linux中查看位数的命令: [[email protected] ~]# getconf LONG_BIT 64 [[email protected] ~]# 原文地址:http

CentOS安装软件出现错误:bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

CentOS安装软件出现错误: bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directorygoogle了一把才发现是64位系统中安装了32位程序解决方法:yum install glibc.i686 重新安装以后还有如下类系错误 再继续安装包 error while loading shared libraries: libstdc++.so.6: cannot open

Process 'command '/usr/lib/jvm/jdk1.8.0_25/bin/java'' finished with non-zero exit value 2

这个问题有两种可能,第一是jar包或者依赖冲突(版本冲突也算).第二是65535. 对于65535的问题,请看http://blog.csdn.net/t12x3456/article/details/40837287 Process 'command '/usr/lib/jvm/jdk1.8.0_25/bin/java'' finished with non-zero exit value 2

error: No rule to make target '/usr/lib/libOpenNI.so', needed by 'bin/euroc_rectify'。 停止。

这类问题的出现说明程序在编译时,CMakeLists.txt 文件没有找到OpenNI.so, 即 Pangolin库未安装或破损. 重新安装pangolin库即可.(亲测) error: No rule to make target '/usr/lib/libOpenNI.so', needed by 'bin/euroc_rectify'. 停止. 原文地址:https://www.cnblogs.com/Yanfang20180701/p/10598511.html

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory 错误:

在安装tomcat时报了错: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory 本机环境: [[email protected] bin]# uname -a Linux AY140518225150152f97Z 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [[email

1、Ora_Q1_/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

操作系统:Linux 3.8.13-16.2.1.el6uek.x86_64 #1 SMP Thu Nov 7 17:01:44 PST 2013 x86_64 x86_64 x86_64 GNU/Linux [Question1](简称[Q1])/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory [原因]64bit的Linux操作系统,无法运行32bit的应用程序 [解决办法]需要安装32bit的glibc库 #

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

解决此类故障 -bash: /usr/sbin/ntpdate: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory [[email protected] ~]#  /usr/sbin/ntpdate time.dnion.com -bash: /usr/sbin/ntpdate: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

bash: /usr/bin/npm: No such file or directory

一个整得很烂了的Ubuntu服务器, 各种问题乱出. npm老是升不到最新版(一直显示1.4),于是我干脆删了, 结果再去装却装不上了, 如果用apt-get install npm安装, 就得到如下错误: The following packages have unmet dependencies: npm : Depends: nodejs but it is not going to be installed Depends: nodejs-dev Depends: node-reques