From f01d8c4783076b7270890e341165d1bc3e49cf39 Mon Sep 17 00:00:00 2001
From: Jaqueeee <jacob@brydolf.net>
Date: Sun, 4 Dec 2016 20:21:14 +0100
Subject: [PATCH] README-OSX: Add xcode workaround

---
 README.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/README.md b/README.md
index a3276c35..251a4ee2 100644
--- a/README.md
+++ b/README.md
@@ -152,6 +152,19 @@ TODO
 
 The executable can be found in the `build/release/bin` folder.
 
+**Note:** Workaround for "ERROR: Xcode not set up properly"
+
+Edit `$HOME/Qt/5.7/clang_64/mkspecs/features/mac/default_pre.prf`
+
+replace
+`isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))`
+
+with
+`isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null")))`
+
+More info: http://stackoverflow.com/a/35098040/1683164
+
+
 ### On Windows:
 
 1. Install [msys2](http://msys2.github.io/), follow the instructions on that page on how to update packages to the latest versions