无法让QT 5.1.1在OS X 10.6.8上运行

时间:2013-08-31 21:00:33

标签: c++ macos qt

更新
我认为问题可能与安装程序试图将不同框架解压缩到/Users/bld.qt/Users目录被写保护)的事实有关,所以我尝试创建{{1}并且给了每个人写权限。但是,这不起作用,因为安装程序没有向该文件夹写任何内容,并且仍然出现错误。

系统信息
我正在运行Mac OS X 10.6.8并安装了XCode 3.2.5 正在运行/Users/bld.qt输出which gcc
正在运行/usr/bin/gcc输出which clang

我尝试过什么
我尝试使用离线和在线安装程序安装qt:

  

QT-MAC-开源-1.4.0-2-x86_64的-online.dmg
  QT-MAC-开源-5.1.1-铛-offline.dmg

然而,在/usr/bin/clang的中间,这两个错误都会产生以下错误(无论我点击Installing component Essential modules多少次):

Retry

Error during installation process (qt.511.clang_64.essentials): Command install_name_tool failed. Arguments: -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtQuickTest.framework/Versions/5/QtQuickTest /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtQuickTest.framework/Versions/5/QtQuickTest -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtWidgets.framework/Versions/5/QtWidgets /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtGui.framework/Versions/5/QtGui /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtGui.framework/Versions/5/QtGui -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtCore.framework/Versions/5/QtCore /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtCore.framework/Versions/5/QtCore -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtQml.framework/Versions/5/QtQml /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtQml.framework/Versions/5/QtQml -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtNetwork.framework/Versions/5/QtNetwork /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork /usr/local/qt/5.1.1/5.1.1/clang_64/bin/qmltestrunner Output: 期间,我收到错误:

Installing component Add-On modules

在两者上点击Error during installation process (qt.511.clang_64.addons): Command install_name_tool failed. Arguments: -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtQuickTest.framework/Versions/5/QtQuickTest /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtQuickTest.framework/Versions/5/QtQuickTest -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtWidgets.framework/Versions/5/QtWidgets /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtGui.framework/Versions/5/QtGui /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtGui.framework/Versions/5/QtGui -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtCore.framework/Versions/5/QtCore /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtCore.framework/Versions/5/QtCore -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtQml.framework/Versions/5/QtQml /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtQml.framework/Versions/5/QtQml -change /Users/bld.qt/bamboo-agent-home/xml-data/build-dir/DQTC-LGPLRELEASEBUILD510-OSX106/______________________________PADDING______________________________/lib/QtNetwork.framework/Versions/5/QtNetwork /usr/local/qt/5.1.1/5.1.1/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork /usr/local/qt/5.1.1/5.1.1/clang_64/bin/qmltestrunner Output: 后,安装继续正常,但我尝试使用Qt Creator并在首选项下获取以下消息:Ignore

Qt version is not properly installed, please run make install

安装完成后,正在运行Qt version is not properly installed, please run make install输出which qmake

2 个答案:

答案 0 :(得分:0)

安装支持Snow Leopard和Xcode命令行软件包的最新版Xcode。我怀疑更新你的工具集是必要的。但是,磁盘权限可能会在OS X中不时变得棘手,导致读/写失败。在重试之前,请进入“磁盘工具”并修复磁盘权限。

答案 1 :(得分:-1)

Xcode 4.2是OS X 10.6.8上最新的IDE 我为Android开发构建了Qt 5.1.1和Qt Creator 2.8.1。 这栋楼很好。但它无法自动部署。