提交 7bc02d92 编写于 作者: F fjh658

Modify README, add xcode config.

上级 a4e76606
......@@ -76,18 +76,28 @@ void QCocoaInputContext::updateLocale()
```
#### Recompile Qt5.6
Compile argument
**Download**
```
https://download.developer.apple.com/Developer_Tools/Xcode_7.3.1/Xcode_7.3.1.dmg
```
**Switch**
```
sudo xcode-select -switch /Applications/Xcode7.app/Contents/Developer
```
**Compile argument**
```
sh configure "-nomake" "tests" "-qtnamespace" "QT" "-confirm-license" "-accessibility" "-opensource" "-force-debug-info" "-platform" "macx-g++" "-debug-and-release" "-fontconfig" "-qt-freetype" "-qt-libpng" "-qt-sql-sqlite" "-prefix" "Qt/5.6.0-x64"
```
FAQ
```
Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
```
```
Replace "/usr/bin/xcrun -find xcrun"
to "/usr/bin/xcrun -find xcodebuild"
```
Replace
"/usr/bin/xcrun -find xcrun"
to
"/usr/bin/xcrun -find xcodebuild"
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册