diff --git a/src/corelib/io/qstandardpaths.cpp b/src/corelib/io/qstandardpaths.cpp index c145ec4bad..bd9fa68d93 100644 --- a/src/corelib/io/qstandardpaths.cpp +++ b/src/corelib/io/qstandardpaths.cpp @@ -203,7 +203,7 @@ QT_BEGIN_NAMESPACE \endtable \table - \header \li Path type \li Blackberry \li Linux (including Android) + \header \li Path type \li Blackberry \li Linux \row \li DesktopLocation \li "/data" \li "~/Desktop" @@ -257,6 +257,44 @@ QT_BEGIN_NAMESPACE \li "~/.cache" \endtable + \table + \header \li Path type \li Android + \row \li DesktopLocation + \li "/files" + \row \li DocumentsLocation + \li "/Documents", "//Documents" + \row \li FontsLocation + \li "/system/fonts" (not writable) + \row \li ApplicationsLocation + \li not supported (directory not readable) + \row \li MusicLocation + \li "/Music", "//Music" + \row \li MoviesLocation + \li "/Movies", "//Movies" + \row \li PicturesLocation + \li "/Pictures", "//Pictures" + \row \li TempLocation + \li "/cache" + \row \li HomeLocation + \li "/files" + \row \li DataLocation + \li "/files", "//files" + \row \li CacheLocation + \li "/cache", "//cache" + \row \li GenericDataLocation + \li "" + \row \li RuntimeLocation + \li "/cache" + \row \li ConfigLocation + \li "/files/settings" + \row \li GenericConfigLocation + \li "/files/settings" (there is no shared settings) + \row \li DownloadLocation + \li "/Downloads", "//Downloads" + \row \li GenericCacheLocation + \li "/cache" (there is no shared cache) + \endtable + In the table above, \c is usually the organization name, the application name, or both, or a unique name generated at packaging. Similarly, is the location where this application is installed @@ -266,6 +304,9 @@ QT_BEGIN_NAMESPACE The paths above should not be relied upon, as they may change according to OS configuration, locale, or they may change in future Qt versions. + \note On Android, applications with open files on the external storage ( locations), + will be killed if the external storage is unmounted. + \sa writableLocation(), standardLocations(), displayName(), locate(), locateAll() */