summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/macx.conf
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-03-02 15:46:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-05 20:59:45 +0100
commitd28073d9eb0f35bae534470970e693a94463c549 (patch)
treed3331dc068105893fecd93868dd078d1ea57edaf /mkspecs/common/macx.conf
parent950b35cf97ad398f97883efd2a18ee97994a8a9c (diff)
Distinguish between 'mac' and 'macx' qmake scopes
The former applies both on Mac OS X and iOS, but 'macx' is specific to Mac OS X. ios.conf and macx.conf now share most of their settings in the common mac.conf. We set the default QMAKE_MAC_SDK before loading mac.conf, so that any overrides in the device config will apply afterwards. This means configure's mkspec parsing will be able to read the QMAKE_MAC_SDK. Change-Id: I0c7e26a6a0103e19b23ef152aa9e4ab461cee632 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'mkspecs/common/macx.conf')
-rw-r--r--mkspecs/common/macx.conf32
1 files changed, 3 insertions, 29 deletions
diff --git a/mkspecs/common/macx.conf b/mkspecs/common/macx.conf
index 5f5ed80e4d..eb39d1cf8d 100644
--- a/mkspecs/common/macx.conf
+++ b/mkspecs/common/macx.conf
@@ -1,34 +1,8 @@
#
# qmake configuration for common Mac OS X
#
-!load(device_config) {
- error(Could not successfully load device configuration)
-}
-QMAKE_PLATFORM += macx mac
+QMAKE_PLATFORM += macx
+QMAKE_MAC_SDK = macosx
-isEmpty(QMAKE_MAC_SDK): QMAKE_MAC_SDK = macosx
-
-QMAKE_RESOURCE = /Developer/Tools/Rez
-
-QMAKE_EXTENSION_SHLIB = dylib
-
-QMAKE_LIBDIR =
-
-# sdk.prf will prefix the proper SDK sysroot
-QMAKE_INCDIR_OPENGL = \
- /System/Library/Frameworks/OpenGL.framework/Headers \
- /System/Library/Frameworks/AGL.framework/Headers/
-
-QMAKE_FIX_RPATH = install_name_tool -id
-
-QMAKE_LFLAGS_RPATH =
-
-QMAKE_LIBS_DYNLOAD =
-QMAKE_LIBS_OPENGL = -framework OpenGL -framework AGL
-QMAKE_LIBS_THREAD =
-
-QMAKE_AR = ar cq
-QMAKE_RANLIB = ranlib -s
-
-include(unix.conf)
+include(mac.conf)