summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/xcode.conf
blob: d38a7bdf6de7e26c988f0fe9da37c37192bca8a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# qmake configuration for Xcode
#

# Get path of Xcode's Developer directory
QMAKE_XCODE_DEVELOPER_PATH = $$system("xcode-select --print-path")
isEmpty(QMAKE_XCODE_DEVELOPER_PATH): \
    error("Xcode path is not set. Please use xcode-select to choose Xcode installation path.")

# Make sure Xcode path is valid
!exists($$QMAKE_XCODE_DEVELOPER_PATH): \
    error("Xcode is not installed in $${QMAKE_XCODE_DEVELOPER_PATH}. Please use xcode-select to choose Xcode installation path.")