Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38801

Add method to QStandardPaths to get the sqlite database path in mobile devices

    XMLWordPrintable

Details

    Description

      At least in Android default database path is /data/data/com.yourpackage/databases.

      Currently there are now way to get this path using QStandardPaths.
      QStandardPaths::location(QStandardPaths::DataLocation) points to /data/data/com.yourpackage/files, so users must done some string manipulation to get the path to the database.

      Not sure how this is handled in iOS side but I guess there is default database path as well.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              stromme Christian
              anylitok Antti Yli-Tokola (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes