错误提示:
Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
解决办法:
打开
Qt_install_folder/5.7/clang_64/mkspecs/features/mac/default_pre.prf
修改
1
isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))
为
1
isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null")))