当我尝试在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.
答案 0 :(得分:2)
使用XCode 4.4开发人员预览,使用它似乎可行,但我不确定它是否是最佳解决方案。
ln -s /Applications/Xcode44-DP4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ /Applications/Xcode44-DP4.app/Contents/Developer/SDKs
创建此链接后,警告似乎消失了。