【发布时间】:2010-02-25 07:48:07
【问题描述】:
我很难让 Qt 运行。我下载了 4.6.2 SDK-Installer 并成功完成。然而,当我尝试通过终端编译任何示例并输入“qmake”时,我会收到这样的错误
Failure to read QMAKESPEC conf file /Users/xxx/mkspecs/macx-g++/qmake.conf.
Error processing project file: /Users/xxx/chap06/mdieditor/mdieditor.pro
我尝试添加
#qt
export PATH='/usr/local/Qt4.6':$PATH
export QTDIR=’/usr/local/Qt4.6‘
export QMAKESPEC=/usr/local/Qt4.6/mkspecs/macx-g++
到我的 .profile 文件,我得到另一个错误,说明
Project LOAD(): Feature qt_config cannot be found.
您知道安装中出了什么问题吗?
非常感谢您的意见
【问题讨论】:
标签: macos qt installation osx-snow-leopard