This patch adds small pre-processor branching to avoid some
Qt 5.6.0 introduced logic related to the tile cache.
Pre 5.6.0, the way to setup the tile cache is to use:
QGeoTileCache from qgeotilecache_p.h
createTileCacheWithDir() to allocate a cache object
QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation)
instead of QAbstractGeoTileCache::baseCacheDirectory() to obtain
the path to write the cache to
This patch adds small pre-processor branching to avoid some Qt 5.6.0 introduced logic related to the tile cache.
Pre 5.6.0, the way to setup the tile cache is to use:
Tested-by: Stefan Fuchs sfuchs@gmx.de Signed-off-by: Lubomir I. Ivanov neolit123@gmail.com