Android: advice user to request storage permission with QStandardPaths

Change-Id: Ie364489fef7ba34f102bfdc279c53f5da176d280
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
bb10
Assam Boudjelthia 2020-02-17 14:30:19 +02:00
parent dcb38e4bc7
commit 6d64613d99
1 changed files with 4 additions and 1 deletions

View File

@ -343,7 +343,10 @@ QT_BEGIN_NAMESPACE
OS configuration, locale, or they may change in future Qt versions.
\note On Android, applications with open files on the external storage (<USER> locations),
will be killed if the external storage is unmounted.
will be killed if the external storage is unmounted.
\note On Android 6.0 (API 23) or higher, the "WRITE_EXTERNAL_STORAGE" permission must be
requested at runtime when using QStandardPaths::writableLocation or QStandardPaths::standardLocations.
\note On iOS, if you do pass \c {QStandardPaths::standardLocations(QStandardPaths::PicturesLocation).last()}
as argument to \l{QFileDialog::setDirectory()},