Search code examples
qtqmlqt5

Where is the QML map cache stored in ubuntu / windows?


I need to load my cache from my PC in other PC. So, where is the qml map cache in PC? When my app is working on ubuntu 20.04 I found cache in ./cache/myproject/qmlcache. But when I removed the cache from there while the program was running, it still displayed the map correctly. Where is the real map cache stored?


Solution

  • It should be under /.cache/QtLocation or /.cache/<app_name>/QtLocation

    The subdirectory depends on the plugin you use for the map tiles.

    /qmlcache is just the cache for the QML engine itself, not the tiles.