summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2018-04-13 06:45:20 +0200
committerAndy Shaw <andy.shaw@qt.io>2018-04-16 08:01:31 +0000
commit8e71e41bc901beec1aedabe8c9bc6c94df2e295a (patch)
treeafe2db383a206fce307035cde7240a313e7f0947
parent654de8242411dae548795f9b17648608f8a8c28d (diff)
downloadqtquickcontrols-8e71e41bc901beec1aedabe8c9bc6c94df2e295a.tar.gz
iOS: Be more explicit about how to get access to the native image picker
Change-Id: I24c265698d118544a470ac91c54d57895544a5ac Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
-rw-r--r--src/dialogs/qquickplatformfiledialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dialogs/qquickplatformfiledialog.cpp b/src/dialogs/qquickplatformfiledialog.cpp
index aaf15197..1a969e15 100644
--- a/src/dialogs/qquickplatformfiledialog.cpp
+++ b/src/dialogs/qquickplatformfiledialog.cpp
@@ -318,7 +318,9 @@ void QQuickPlatformFileDialog1::accept()
{shortcuts.pictures},
a native image picker dialog will be used for accessing the user's photo album.
The URL returned can be set as \l{Image::source}{source} for \l{Image}.
- This feature was added in Qt 5.5.
+ For this to be enabled, the Info.plist assigned to QMAKE_INFO_PLIST in the project file must
+ contain the key, NSPhotoLibraryUsageDescription. See Info.plist documentation from Apple for
+ more information regarding this key. This feature was added in Qt 5.5.
\sa shortcuts
*/