summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/uikit/default_post.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/uikit/default_post.prf')
-rw-r--r--mkspecs/features/uikit/default_post.prf15
1 files changed, 9 insertions, 6 deletions
diff --git a/mkspecs/features/uikit/default_post.prf b/mkspecs/features/uikit/default_post.prf
index 9a429b1f6e..80c1fc66cd 100644
--- a/mkspecs/features/uikit/default_post.prf
+++ b/mkspecs/features/uikit/default_post.prf
@@ -29,12 +29,15 @@ macx-xcode {
QMAKE_MAC_XCODE_SETTINGS += device_family
ios {
- # Set up default LaunchScreen
- qmake_launch_screen = LaunchScreen.storyboard
- qmake_copy_launch_screen.input = $$QMAKESPEC/$$qmake_launch_screen
- qmake_copy_launch_screen.output = $$OUT_PWD/$${TARGET}.xcodeproj/$$qmake_launch_screen
- QMAKE_SUBSTITUTES += qmake_copy_launch_screen
- qmake_launch_screens.files = $$qmake_copy_launch_screen.output
+ isEmpty(QMAKE_IOS_LAUNCH_SCREEN) {
+ qmake_launch_screen = LaunchScreen.storyboard
+ qmake_copy_launch_screen.input = $$QMAKESPEC/$$qmake_launch_screen
+ qmake_copy_launch_screen.output = $$OUT_PWD/$${TARGET}.xcodeproj/$$qmake_launch_screen
+ QMAKE_SUBSTITUTES += qmake_copy_launch_screen
+ qmake_launch_screens.files = $$qmake_copy_launch_screen.output
+ } else {
+ qmake_launch_screens.files = $$QMAKE_IOS_LAUNCH_SCREEN
+ }
QMAKE_BUNDLE_DATA += qmake_launch_screens
}
}