From 0a9133aedd6f911a07b7020420a9addf9c31c9f3 Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@edeltech.ch>
Date: Thu, 6 Aug 2015 09:49:14 +0200
Subject: [PATCH] iOS: Fix launch image code sample and explanation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Task-number: QTBUG-47592
Change-Id: I6d6252fb38662277869af0be9662df92ea533c2b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
---
 doc/src/platforms/ios.qdoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/src/platforms/ios.qdoc b/doc/src/platforms/ios.qdoc
index 3746ae3b..4cbcc431 100644
--- a/doc/src/platforms/ios.qdoc
+++ b/doc/src/platforms/ios.qdoc
@@ -545,12 +545,13 @@
     like the following code snippet to the .pro file:
     \badcode
     ios {
-        launch_images.files = $$PWD/ios/Launch.xib $$files($$PWD/ios/LaunchImage*.png)
-        QMAKE_BUNDLE_DATA += launch_images
+        app_launch_images.files = $$PWD/ios/Launch.xib $$files($$PWD/ios/LaunchImage*.png)
+        QMAKE_BUNDLE_DATA += app_launch_images
     }
     \endcode
 
     This allows you to produce universal applications with valid LaunchImages as required by the Apple App Store.
+    \important \c "launch_images" is used internally by Qt, so it will be overwritten if used in your .pro file.
 
     \section1 Publishing to Apple App Store
 
-- 
GitLab