diff options
author | Christoph Keller <keller@conntac.net> | 2021-04-07 14:39:13 +0200 |
---|---|---|
committer | Christoph Keller <keller@conntac.net> | 2021-04-08 11:42:41 +0200 |
commit | e3d8eddb3af572a66a59f6994ce8e98b72e487ff (patch) | |
tree | 1be8e7e81cb41d64fa3c0ce23f2adb728c4b3043 /mkspecs/features/uikit/default_post.prf | |
parent | 68af1067aceb05fce8049d9f79fdac5344147f4e (diff) |
Only embed launch screen when building an app
Xcode's new build system checks duplicated entries when building. Qmake wants to embed
the launch screen for all types of configurations (static libraries etc.) which makes Xcode bail
out with "Multiple commands produce LaunchScreen.storyboard".
Task-number: QTBUG-71035
Change-Id: I5c028e687f16e046b12156c1a8a89540deba4d3b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 9c24ad3b94cb8c67468e947f02dd1f9aaf246085)
Diffstat (limited to 'mkspecs/features/uikit/default_post.prf')
-rw-r--r-- | mkspecs/features/uikit/default_post.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/uikit/default_post.prf b/mkspecs/features/uikit/default_post.prf index c1b6f38a6c..de96bbda84 100644 --- a/mkspecs/features/uikit/default_post.prf +++ b/mkspecs/features/uikit/default_post.prf @@ -28,7 +28,7 @@ macx-xcode { device_family.value = $$QMAKE_APPLE_TARGETED_DEVICE_FAMILY QMAKE_MAC_XCODE_SETTINGS += device_family - ios { + equals(TEMPLATE, app):ios { # Set up default 4-inch iPhone/iPod launch image so that our apps # support the full screen resolution of those devices. qmake_launch_image = Default-568h@2x.png |