Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Files that will survive app reinstallation?
Qt 6.12 LTS is out! See what's new in the release blog

Files that will survive app reinstallation?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 630 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RogueWarrior
    wrote on last edited by
    #1

    Given the various QStandardPaths that are available, where would you store a file that would survive the user reinstalling the app? For example, an SQL database that had a lot of information in it that you'd really want to save. Android is supposedly a bit more flexible than iOS but iOS has that Files app. How would you save something that the Files app can see?

    Ultimately, I'd like my app to create the SQL database when you install it (or first launch it) but I'd like to be able to see that file and offload it or make a backup copy of it. Note, I don't want to require the user to have some cloud subscription to do this.

    TomZT 1 Reply Last reply
    0
    • R RogueWarrior

      Given the various QStandardPaths that are available, where would you store a file that would survive the user reinstalling the app? For example, an SQL database that had a lot of information in it that you'd really want to save. Android is supposedly a bit more flexible than iOS but iOS has that Files app. How would you save something that the Files app can see?

      Ultimately, I'd like my app to create the SQL database when you install it (or first launch it) but I'd like to be able to see that file and offload it or make a backup copy of it. Note, I don't want to require the user to have some cloud subscription to do this.

      TomZT Offline
      TomZT Offline
      TomZ
      wrote on last edited by
      #2

      @RogueWarrior what does "reinstall" mean?

      Deleting an app on an Android deletes everything, that is by design so you don't have stuff lying around nobody is using.

      Doing an app update (to a new version) does not do this removal step.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved