f9048b3465
Modified common MacOS gcc config for iOS compatibility. Added iOS mkspecs for iOS devices and simulator using G++, LLVM-G++ or CLANG compilers. Change-Id: If0a0b1a3ce4e0dc4db319a315e227a9d31549399 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
22 lines
650 B
Plaintext
22 lines
650 B
Plaintext
#
|
|
# qmake common configuration for iOS
|
|
#
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
TEMPLATE = app
|
|
CONFIG += qt ios warn_on release reduce_exports incremental global_init_link_order lib_version_first plugin_no_soname link_prl
|
|
QT += core gui opengl
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
# Qt can't build iOS app bundle :(
|
|
CONFIG -= app_bundle
|
|
|
|
# Not deploying to Mac OSX
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET =
|
|
|
|
# Add iOS common folder to include path
|
|
INCLUDEPATH += $$PWD/ios
|
|
|
|
# iOS defines
|
|
DEFINES += DARWIN_NO_CARBON Q_OS_IOS QT_NO_CORESERVICES QT_NO_PRINTER QT_NO_PRINTDIALOG
|