iOS: Target both iPhone and iPad by default
Change-Id: I3122b9391c6187da17389c889a456c58210dca09 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
This commit is contained in:
parent
e846edff33
commit
5da648043d
@ -20,3 +20,6 @@ INCLUDEPATH += $$PWD/ios
|
||||
|
||||
# iOS defines
|
||||
DEFINES += DARWIN_NO_CARBON QT_NO_CORESERVICES QT_NO_PRINTER QT_NO_PRINTDIALOG
|
||||
|
||||
# Universal target (iPhone and iPad)
|
||||
QMAKE_IOS_TARGETED_DEVICE_FAMILY = 1,2
|
||||
|
@ -34,4 +34,10 @@ gui_app {
|
||||
}
|
||||
}
|
||||
|
||||
contains(MAKEFILE_GENERATOR, XCODE) {
|
||||
ios_device_family.name = TARGETED_DEVICE_FAMILY
|
||||
ios_device_family.value = $$QMAKE_IOS_TARGETED_DEVICE_FAMILY
|
||||
QMAKE_MAC_XCODE_SETTINGS += ios_device_family
|
||||
}
|
||||
|
||||
load(default_post)
|
||||
|
Loading…
Reference in New Issue
Block a user