2012-03-16 15:00:33 +00:00
|
|
|
#
|
|
|
|
# qmake common configuration for iOS
|
|
|
|
#
|
|
|
|
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
2012-11-23 12:26:50 +00:00
|
|
|
CONFIG += app_bundle reduce_exports incremental global_init_link_order lib_version_first plugin_no_soname sdk
|
2012-03-16 15:00:33 +00:00
|
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
|
2012-11-23 12:26:50 +00:00
|
|
|
# FIXME: Transform ios.conf to follow the same inheritance pattern as eg mac.conf and unix.conf
|
|
|
|
QMAKE_PLATFORM = ios $$QMAKE_PLATFORM
|
2012-03-16 15:00:33 +00:00
|
|
|
|
|
|
|
# Not deploying to Mac OSX
|
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET =
|
|
|
|
|
2012-11-20 14:25:34 +00:00
|
|
|
# But to iOS
|
|
|
|
QMAKE_IOS_DEPLOYMENT_TARGET = 4.3
|
|
|
|
|
2012-03-16 15:00:33 +00:00
|
|
|
# Add iOS common folder to include path
|
|
|
|
INCLUDEPATH += $$PWD/ios
|
|
|
|
|
|
|
|
# iOS defines
|
2012-11-01 11:31:50 +00:00
|
|
|
DEFINES += DARWIN_NO_CARBON QT_NO_CORESERVICES QT_NO_PRINTER QT_NO_PRINTDIALOG
|
2012-12-06 14:29:05 +00:00
|
|
|
|
|
|
|
# Universal target (iPhone and iPad)
|
|
|
|
QMAKE_IOS_TARGETED_DEVICE_FAMILY = 1,2
|