在Mac OS X Lion上安装Qt SDK时出现问题 [英] Problems Installing Qt SDK on Mac OS X Lion

查看:245
本文介绍了在Mac OS X Lion上安装Qt SDK时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到OS X Lion,我正在尝试安装Qt SDK.我已经通过 homebrew 安装了Qt 4.7.3,并试图获取

I've just upgraded to OS X Lion and am I trying to install Qt SDK. I've installed Qt 4.7.3 through homebrew, and am trying to get Qt SDK 1.1.1 running my machine.

我从nokia Qt站点下载了安装程序,然后运行它.但是,在安装过程中,出现了一系列奇怪的错误:

I downloaded the installer from the nokia Qt site, and run it. However, during the installation, a strange series of errors appeared:

我几次单击重试"都无济于事,因此点击忽略",因为取消"只是退出了安装程序.

I clicked "Retry" a few times to no avail, so hit "Ignore", as "Cancel" just quits the installer.

再次,单击重试".

最后,再次单击重试",安装完成.

Finally, clicked "Retry" again, and the installation completed.

但是,显然有问题,因为当我尝试运行Qt Creator时,出现以下窗口:

However, there's obviously something faulty, because when I try to run Qt Creator, I am greeted with the following window:

可以看到,右侧的Qt Designer标签以及Projects标签为灰色.我尝试再次运行安装程序,并弹出相同的确切错误.我尝试使用Google搜索解决方案(查找涉及harmattan-postinstall.sh的错误),但没有任何反应.

As one can see, the Qt Designer tab on the right, as well as the Projects tab are greyed out. I tried running the installer again, and the same exact errors pop up. I tried googling a solution (looking for errors involving harmattan-postinstall.sh) and nothing came up.

还有其他人遇到过这些问题吗?有人知道解决方案吗?

Has anyone else encountered these problems? Does anyone know of a solution?

推荐答案

从用户那里获取答案,

已提供QtSDK的更新版本,该版本可能会解决 问题.我能够在Lion上安装QtSDK并使用 自制. Qt Designer选项卡显示为灰色的事实是不相关的 对于您遇到的错误,您只需安装它.安装 只需在QtSDK目录中选择"SDK维护工具",然后 选择包管理器",然后继续.您应该可以选择和 安装其他工具,例如Qt Designer以及其他东西 像例子.希望这会有所帮助.

An updated version of the QtSDK is available which might solve the problem. I was able to install the QtSDK fine on Lion and using homebrew. The fact that the Qt Designer tab is grayed out is unrelated to the error you are having, you just have to install it. To install it just select "SDK Maintenance Tool" in your QtSDK directory and then Select "Package Manager" and continue. You should be able select and install additional tools such as Qt Designer as well as other things like examples. Hope this helps.

这篇关于在Mac OS X Lion上安装Qt SDK时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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