summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorIan <ian@mediator-software.com>2011-06-27 10:33:50 (GMT)
committercon <qtc-committer@nokia.com>2011-06-27 13:48:29 (GMT)
commitf4021929ef802a5b5093a03c37f5f1b8021b46e7 (patch)
treede75fed01eadd672ab31beaae111daf530d8600e /mkspecs
parent053b3620fc182b4d4f7917926235f5631fc4a504 (diff)
downloadQt-f4021929ef802a5b5093a03c37f5f1b8021b46e7.zip
Qt-f4021929ef802a5b5093a03c37f5f1b8021b46e7.tar.gz
Qt-f4021929ef802a5b5093a03c37f5f1b8021b46e7.tar.bz2
Add IPHONEOS deployment vars to makespec
Merge-request: 1275 Reviewed-by: con
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/qpa/macx-iphonedevice-g++/qmake.conf3
-rw-r--r--mkspecs/qpa/macx-iphonesimulator-g++/qmake.conf3
2 files changed, 4 insertions, 2 deletions
diff --git a/mkspecs/qpa/macx-iphonedevice-g++/qmake.conf b/mkspecs/qpa/macx-iphonedevice-g++/qmake.conf
index b11c2d7..d69f58d 100644
--- a/mkspecs/qpa/macx-iphonedevice-g++/qmake.conf
+++ b/mkspecs/qpa/macx-iphonedevice-g++/qmake.conf
@@ -25,7 +25,8 @@ DEFINES += QT_NO_AUDIO_BACKEND
QMAKE_IOS_DEV_PATH = /Developer/Platforms/iPhoneOS.platform/Developer
QMAKE_IOS_SDK = $$QMAKE_IOS_DEV_PATH/SDKs/iPhoneOS4.3.sdk
-#clear
+# Set up deployment targets
+QMAKE_IPHONEOS_DEPLOYMENT_TARGET = 4.0
QMAKE_MACOSX_DEPLOYMENT_TARGET =
QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_IOS_SDK/System/Library/Frameworks/OpenGLES.framework/Headers
diff --git a/mkspecs/qpa/macx-iphonesimulator-g++/qmake.conf b/mkspecs/qpa/macx-iphonesimulator-g++/qmake.conf
index 8098dbf..481a268 100644
--- a/mkspecs/qpa/macx-iphonesimulator-g++/qmake.conf
+++ b/mkspecs/qpa/macx-iphonesimulator-g++/qmake.conf
@@ -25,7 +25,8 @@ DEFINES += QT_NO_AUDIO_BACKEND
QMAKE_IOS_DEV_PATH = /Developer/Platforms/iPhoneSimulator.platform/Developer
QMAKE_IOS_SDK = $$QMAKE_IOS_DEV_PATH/SDKs/iPhoneSimulator4.2.sdk
-#clear
+# Set up deployment targets
+QMAKE_IPHONEOS_DEPLOYMENT_TARGET = 4.0
QMAKE_MACOSX_DEPLOYMENT_TARGET =
QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_IOS_SDK/System/Library/Frameworks/OpenGLES.framework/Headers