diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-09-14 12:15:17 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-09-15 14:44:40 +0000 |
commit | a99b8ced41b2c634598ce70fe69036a0ed34e9ba (patch) | |
tree | af55c8822257652f1334fc28403b35c77dcc4d3e /src/location/doc/src/plugins/osm.qdoc | |
parent | d1964046bc55e5b4d99a509c6329f549c47d3f77 (diff) | |
download | qtlocation-a99b8ced41b2c634598ce70fe69036a0ed34e9ba.tar.gz |
Isolate the default cache directory
Instead of having it in several random places, have a central function
that contains all the cache directory selection logic.
As per QtCore docs GenericCacheLocation can be empty so introduce a fallback
to CacheLocation (the app-specific, non-shared location) in case some
future platform does not support the former.
Task-number: QTBUG-41187
Change-Id: Icfe5e8926e917483ac11844f625244318ff815c7
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/doc/src/plugins/osm.qdoc')
-rw-r--r-- | src/location/doc/src/plugins/osm.qdoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/location/doc/src/plugins/osm.qdoc b/src/location/doc/src/plugins/osm.qdoc index f6de9c20..1c924fd3 100644 --- a/src/location/doc/src/plugins/osm.qdoc +++ b/src/location/doc/src/plugins/osm.qdoc @@ -106,4 +106,12 @@ Plugin { PluginParameter { name: "osm.geocoding.host"; value: "http://geocoding.server.address" } } \endcode + +\section1 Other Plugin-specific Information + +\section2 Tile cache + +The tiles are cached in a \c{QtLocation/osm} directory in \l {QStandardPaths::writableLocation()}{QStandardPaths::writableLocation} +(\l{QStandardPaths::GenericCacheLocation}). On systems that have no concept of a shared cache, the application-specific +\l{QStandardPaths::CacheLocation} is used instead. */ |