QT版本未正确安装,请运行make install [英] QT version is not properly installed, please run make install

查看:1067
本文介绍了QT版本未正确安装,请运行make install的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用

sudo ./qt-creator-linux-x86-opensource-2.6.1.bin 

在Ubuntu 11.04中

in Ubuntu 11.04

我试图在QT-Creator/Build/QT-versions配置中添加QT版本,并要求提供qmake可执行文件.

I tried to add QT versions in QT-Creator/Build/QT-versions configuration and it asked for a qmake executable.

我使用以下方式安装了它:

I installed it using:

sudo apt-get install qt4-devel

/usr/bin/qmake

我在QT-Creator/Build/QT-versions配置中手动选择了它,Qt-4.7.2 (System) /usr/bin/qmake-qt4但出现QT version is not properly installed, please run make install消息,我不能在QT-Creator/Build/Kits配置中使用它.

I selected it in QT-Creator/Build/QT-versions configuration as manual, Qt-4.7.2 (System) /usr/bin/qmake-qt4 but QT version is not properly installed, please run make install message appears and I can't use it in QT-Creator/Build/Kits configuration.

我如何解决该问题并配置qmake以供Qt-creator在项目创建中使用?

How can I solve the problem and configure qmake for Qt-creator use in project creation?

推荐答案

只是这样,它不再显示为未回答:

Just so this no longer shows up as unanswered:

要安装所有qt-devel库,请使用

To install all qt-devel libraries, use

sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui

这篇关于QT版本未正确安装,请运行make install的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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