在 Snow Leopard 上安装 Qt 失败
我很难让 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.
您知道安装中出了什么问题吗?
非常感谢您的意见
I am having a hard time trying to get Qt running. I downloaded the 4.6.2 SDK-Installer and it completed successfully. Yet, when I try to compile any of the examples by Terminal and typing "qmake" I get errors like this
Failure to read QMAKESPEC conf file /Users/xxx/mkspecs/macx-g++/qmake.conf.
Error processing project file: /Users/xxx/chap06/mdieditor/mdieditor.pro
I tried adding
#qt
export PATH='/usr/local/Qt4.6':$PATH
export QTDIR=’/usr/local/Qt4.6‘
export QMAKESPEC=/usr/local/Qt4.6/mkspecs/macx-g++
to my .profile file, I get another error, stating
Project LOAD(): Feature qt_config cannot be found.
Do you have any idea what went wrong in the installation?
Thank you very much for your input
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试
一下。
Try
instead.