cmake不工作,无法执行qmake [英] cmake not working, could not exec qmake

查看:364
本文介绍了cmake不工作,无法执行qmake的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Ubuntu 14.04。我试图安装一个程序,需要cmake。当我运行 cmake src / 我得到:

I am using Ubuntu 14.04. I'm trying to install a program which requires cmake. When I run cmake src/ I get:

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


$ b b

我做错了什么?

What am I doing wrong?

推荐答案

我在另一篇帖子,问题与CMake有关,无法找到Qt4 qmake。

I read on another post that the problem has something to do with CMake not being able to find Qt4 qmake.

然而在我的case,这只是一个没有qt4-qmake的问题。这解决了它(但重量440MB):

However in my case, it was simply a matter of not having qt4-qmake. This solved it (but weighs a heavy 440MB):

sudo apt-get install qt-sdk

这篇关于cmake不工作,无法执行qmake的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆