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 '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory

时间: 2024-12-08 11:29:35

ubuntu添加qmake 出现错误 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 -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/qtchoosersudo  rm default.conf 重新安装Pyqt5 sudo apt-get install qt5

错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory

转 Linux下Android SDK中adb找不到的解决方案 2013年04月22日 20:41:48 阅读数:7621 在Linux平台下配置Android SDK开发环境过程中,Eclipse会提示错误如下: Unexpected exception 'Cannot run program "/home/ubuntu/adt/sdk/platform-tools/adb": error=2 No such file or directory' while attempting t

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

/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

解决nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)错误

服务器重启后,重启nginx时报错nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory),进入到logs目录发现确实没有nginx.pid文件 cd /usr/local/nginx/sbin/ ./nginx -s reload ngx_http_fastdfs_set pid=1412 ngx_http_fastdfs_set pid=1412 ngx

The process "E:\Qt\4.8.5\bin\qmake.exe" exited with code 2.(不能包含中文路径,qmake够弱智的)

打开某个项目的时候,编译出现类似的错误 21:46:44: The process "E:\Qt\4.8.5\bin\qmake.exe" exited with code 2. Error while building/deploying project designers (kit: Win-QT) When executing step 'qmake' 21:46:44: Elapsed time: 00:00. 这个是由于 项目的路径带有中文,修改下 不带中文就可以编译通过啦~

解决Android Studio在Ubuntu上出现“sdk/platform-tools/adb: error=2, No such file or directory”的方法

转载至http://blog.163.com/china_uv/blog/static/11713726720136931132385/ 刚安装Ubuntu14.5时运行Android Studio可能会出现下列问题: 错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory 错误:[2013-05-30 03:41:32 - adb] Une

ubuntu安装php常见错误集锦

以下错误摘录自 http://www.68idc.cn/help/jiabenmake/qita/20141114128775.html  .http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204 一.configure 报错 1.错误类型: Configure: error: Please reinstall the libcurl distribution-easy.h should be in <cur

在Ubuntu中使用MySQL错误:ERROR 1524 (HY000): Plugin &#39;msyql_native_password&#39; is not loaded

报错信息提示: 解决方式: vi /etc/mysql/my.cnf 添加如下代码 [mysqld]skip-grant-tables 重启服务 sudo service mysql restart 登录mysql服务 成功解决,记录一下 在Ubuntu中使用MySQL错误:ERROR 1524 (HY000): Plugin 'msyql_native_password' is not loaded 原文地址:https://www.cnblogs.com/bai-boy/p/12272699