summaryrefslogtreecommitdiffstats
path: root/mkspecs/darwin-g++
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-12-16 15:19:23 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-26 13:31:08 (GMT)
commitead6b2a067825088a2b84fc6f28ba6d14f39350c (patch)
tree49aac186b8a886904f14dc42c80c4002def6a873 /mkspecs/darwin-g++
parenta5075f3d48d2961b8314b8aaeb02de092e2fa796 (diff)
downloadQt-ead6b2a067825088a2b84fc6f28ba6d14f39350c.zip
Qt-ead6b2a067825088a2b84fc6f28ba6d14f39350c.tar.gz
Qt-ead6b2a067825088a2b84fc6f28ba6d14f39350c.tar.bz2
add TARGET_PLATFORM to qmakespecs with MAKEFILE_GENERATOR = UNIX
the unix makefile generator can make files for "regular" unixes and macos (the difference being the framework handling). so far, the output choice was hard-wired to the host platform. the previous commit made that soft-configurable, and this one exploits this capability to enable limited cross-building. Reviewed-by: mariusSO
Diffstat (limited to 'mkspecs/darwin-g++')
-rw-r--r--mkspecs/darwin-g++/qmake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkspecs/darwin-g++/qmake.conf b/mkspecs/darwin-g++/qmake.conf
index 72baa89..995679e 100644
--- a/mkspecs/darwin-g++/qmake.conf
+++ b/mkspecs/darwin-g++/qmake.conf
@@ -5,6 +5,7 @@
#
MAKEFILE_GENERATOR = UNIX
+TARGET_PLATFORM = macx
TEMPLATE = app
CONFIG += qt warn_on release link_prl native_precompiled_headers
QT += core gui