diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2011-09-01 10:25:01 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-25 15:57:47 (GMT) |
commit | d4b0e8c995c95e37d35632e2556ab97199194982 (patch) | |
tree | 22b1480c7d476c84471a0ae1cb19c9ce61eb5d64 /mkspecs/qpa/common/g++-base-macx-iphone.conf | |
parent | b5a0aeb4b26e709e0b6c15b3b9d5fdf58f3db3dd (diff) | |
download | Qt-d4b0e8c995c95e37d35632e2556ab97199194982.zip Qt-d4b0e8c995c95e37d35632e2556ab97199194982.tar.gz Qt-d4b0e8c995c95e37d35632e2556ab97199194982.tar.bz2 |
uikit: refactor the mkspecs and add armv6 and nothumb ones.
Change-Id: I69ae8b40e3574039c8f9b0d88ecd55d16e830ac9
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'mkspecs/qpa/common/g++-base-macx-iphone.conf')
-rw-r--r-- | mkspecs/qpa/common/g++-base-macx-iphone.conf | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/mkspecs/qpa/common/g++-base-macx-iphone.conf b/mkspecs/qpa/common/g++-base-macx-iphone.conf new file mode 100644 index 0000000..f595dea --- /dev/null +++ b/mkspecs/qpa/common/g++-base-macx-iphone.conf @@ -0,0 +1,47 @@ +# +# qmake configuration base for iphone-g++ +# +include(../../common/mac.conf) +include(../../common/gcc-base-macx.conf) +include(../../common/g++-macx.conf) + +MAKEFILE_GENERATOR = UNIX +TEMPLATE = app +CONFIG += qt warn_on release incremental global_init_link_order lib_version_first plugin_no_soname link_prl +QT += core gui +QMAKE_INCREMENTAL_STYLE = sublib + +# Build everything as static libs +CONFIG += static +CONFIG -= app_bundle + +# This is Apple Darwin without the Carbon framework +DEFINES += DARWIN_NO_CARBON + +# Do not compile a few things +DEFINES += QT_NO_AUDIO_BACKEND + +# You may need to change this to point to the iOS SDK you want to use. +QMAKE_IOS_SDK_VERSION = 5.0 + +# Set up deployment targets +QMAKE_IPHONEOS_DEPLOYMENT_TARGET = 4.0 +QMAKE_MACOSX_DEPLOYMENT_TARGET = + +QMAKE_LIBS_OPENGL_ES1 += -framework OpenGLES +QMAKE_LIBS_OPENGL_ES2 += -framework OpenGLES + +# TARGET_PLATFORM = ios +QMAKE_CFLAGS += -fmessage-length=0 -fexceptions -miphoneos-version-min=4.2 +QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden +QMAKE_OBJECTIVE_CFLAGS += -fmessage-length=0 -fexceptions -miphoneos-version-min=4.2 +QMAKE_LFLAGS += -miphoneos-version-min=4.2 -framework Foundation -framework UIKit -framework QuartzCore -lz + +QMAKE_INCDIR_OPENGL = +QMAKE_LIBS_OPENGL = +QMAKE_LIBS_OPENGL_QT = + +#QMAKE_RESOURCE = +QMAKE_FIX_RPATH = $$QMAKE_IOS_DEV_PATH/usr/bin/install_name_tool -id +QMAKE_AR = $$QMAKE_IOS_DEV_PATH/usr/bin/ar cq +QMAKE_RANLIB = $$QMAKE_IOS_DEV_PATH/usr/bin/ranlib -s |