1

当我尝试在我的 Mac OS X Mountain Lion 开发者预览版上安装 Qt 时,我看到了这个错误。

ws5:1.4 nick$ sudo port install qt4-mac
Password:
--->  Computing dependencies for qt4-mac
--->  Configuring qt4-mac
No SDK found in /Applications/Xcode44-DP4.app/Contents/Developer/SDKs for 10.8 ;  configure will probably fail. 
  Please install Apple's Developer Tools again.
4

1 回答 1

2

使用 XCode 4.4 开发人员预览版,使用它似乎可行,但我不确定它是否是最佳解决方案。

ln -s /Applications/Xcode44-DP4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ /Applications/Xcode44-DP4.app/Contents/Developer/SDKs

创建此链接后,警告似乎消失了。

于 2012-05-11T14:42:51.127 回答