diff --git a/qtbase/configure b/qtbase/configure
index 4ce83be..de80807 100755
a
|
b
|
if [ "$BUILD_ON_MAC" = "yes" ]; then |
543 | 543 | exit 2 |
544 | 544 | fi |
545 | 545 | |
546 | | if ! /usr/bin/xcrun -find xcrun >/dev/null 2>&1; then |
| 546 | if ! /usr/bin/xcrun -find xcodebuild >/dev/null 2>&1; then |
547 | 547 | echo >&2 |
548 | 548 | echo " Xcode not set up properly. You may need to confirm the license" >&2 |
549 | 549 | echo " agreement by running /usr/bin/xcodebuild without arguments." >&2 |
diff --git a/qtbase/mkspecs/features/mac/default_pre.prf b/qtbase/mkspecs/features/mac/default_pre.prf
index 0cc8cd6..5df99d1 100644
a
|
b
|
isEmpty(QMAKE_XCODE_DEVELOPER_PATH) { |
12 | 12 | error("Xcode is not installed in $${QMAKE_XCODE_DEVELOPER_PATH}. Please use xcode-select to choose Xcode installation path.") |
13 | 13 | |
14 | 14 | # Make sure Xcode is set up properly |
15 | | isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null"))): \ |
| 15 | isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \ |
16 | 16 | error("Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.") |
17 | 17 | } |
18 | 18 | |