summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-xcode/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/macx-xcode/qmake.conf')
-rw-r--r--mkspecs/macx-xcode/qmake.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/mkspecs/macx-xcode/qmake.conf b/mkspecs/macx-xcode/qmake.conf
index bfc1c58935..fde682b64b 100644
--- a/mkspecs/macx-xcode/qmake.conf
+++ b/mkspecs/macx-xcode/qmake.conf
@@ -4,6 +4,12 @@
# OS X + Xcode
#
-include(../$$[QMAKE_XSPEC]/qmake.conf)
+QMAKESPEC = $$dirname(PWD)/$$[QMAKE_XSPEC]
+
+include($$QMAKESPEC/qmake.conf)
MAKEFILE_GENERATOR = XCODE
+
+# The active spec is now the original spec, but we still want
+# Xcode specific blocks to be triggered.
+CONFIG += macx-xcode