Qt5.1.1: Xcode not set up properly

在Mac上安装Qt 5.1.1,编译代码的时候总是提示如下错误

Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.


google了一下,解决方法如下:


sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer


你可能感兴趣的:(Qt5.1.1: Xcode not set up properly)