qt 5.7 qmake错误
升级xcode 8.0后,编译qt程序时:
1 | $ qmake -project |
修改文件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"))): \\ |
更改为
js isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \\
也就是将find后面的xcrun改为xcodebuild
===
[erq]