After installing the XCode7.1, I suddenly found that QT5.5 could not compile the program. Directly in the terminal input clang, unexpectedly output the following information.
Agreeing to the Xcode/ios license requires admin privileges, please re-run as root via sudo.
In fact this is the need for us to agree with a license. Enter the following command in the terminal.
sudo xcodebuild-license
will open a protocol, press SPACEBAR to browse to the last, then enter agree. So clang can.
However, the following error will still occur when compiling the project with QT5.5.
' cstddef ' File not found
This is due to the use of a low SDK version, only need to add the following configuration in the pro file to use macosx10.11
QMAKE_MAC_SDK = macosx10.11
This article is from "Li Ning's Geek World" blog, please make sure to keep this source http://androidguy.blog.51cto.com/974126/1698516
After installing XCode7.1, the solution of various problems QT5.5 appears