summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-ios-clang/features/default_post.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/macx-ios-clang/features/default_post.prf')
-rw-r--r--mkspecs/macx-ios-clang/features/default_post.prf21
1 files changed, 12 insertions, 9 deletions
diff --git a/mkspecs/macx-ios-clang/features/default_post.prf b/mkspecs/macx-ios-clang/features/default_post.prf
index 643a17e23e..aa849eb8b1 100644
--- a/mkspecs/macx-ios-clang/features/default_post.prf
+++ b/mkspecs/macx-ios-clang/features/default_post.prf
@@ -68,8 +68,7 @@ equals(TEMPLATE, app) {
debug-iphonesimulator-distclean debug-iphoneos-distclean \
release-iphonesimulator-distclean release-iphoneos-distclean
QMAKE_EXTRA_TARGETS += xcode_distclean
- distclean.depends = xcode_distclean
- QMAKE_EXTRA_TARGETS += distclean
+ DISTCLEAN_DEPS += xcode_distclean
mkpath($$OUT_PWD)|error("Aborting.")
args =
@@ -185,13 +184,17 @@ macx-xcode {
launch_images.files = $$copy_image.output
QMAKE_BUNDLE_DATA += launch_images
- # Set up default LaunchScreen to support iPhone6/6+
- launch_screen = LaunchScreen.xib
- copy_launch_screen.input = $$QMAKESPEC/$$launch_screen
- copy_launch_screen.output = $$OUT_PWD/$${TARGET}.xcodeproj/$$launch_screen
- QMAKE_SUBSTITUTES += copy_launch_screen
- launch_screens.files = $$copy_launch_screen.output
- QMAKE_BUNDLE_DATA += launch_screens
+ lessThan(QMAKE_XCODE_VERSION, "6.0") {
+ warning("You need to update Xcode to version 6 or newer to fully support iPhone6/6+")
+ } else {
+ # Set up default LaunchScreen to support iPhone6/6+
+ launch_screen = LaunchScreen.xib
+ copy_launch_screen.input = $$QMAKESPEC/$$launch_screen
+ copy_launch_screen.output = $$OUT_PWD/$${TARGET}.xcodeproj/$$launch_screen
+ QMAKE_SUBSTITUTES += copy_launch_screen
+ launch_screens.files = $$copy_launch_screen.output
+ QMAKE_BUNDLE_DATA += launch_screens
+ }
}
macx-xcode {