Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [RESOLVED] Where is located the SQLITE Database file used within QtQuick 2.0 Applications ?
Forum Updated to NodeBB v4.3 + New Features

[RESOLVED] Where is located the SQLITE Database file used within QtQuick 2.0 Applications ?

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 5.3k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    SlimIT
    wrote on 19 Apr 2013, 16:27 last edited by
    #1

    Hi,

    in my application i use the QML Local Storage SQLITE Database and i need the database file for debug purpose and export import purposes. So where can i found it ?

    Thank you.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cokefish
      wrote on 25 Apr 2013, 02:14 last edited by
      #2

      you can use
      @find / -name *.sqlite @

      to get the list in your Linux machine.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SlimIT
        wrote on 25 Apr 2013, 13:39 last edited by
        #3

        Thank you i have found it on Ubuntu it this two repertories :

        @ ( Qt Quick Application )
        /home/slimittn/.local/share/[ProjectName]/QML/OfflineStorage/Databases/33704e7720b9d2247ed1258cad464a99.sqlite
        @

        and

        @ ( Qt Quick UI using qmlscene )
        /home/slimittn/.local/share/Qt Project/QtQmlViewer/QML/OfflineStorage/Databases/33704e7720b9d2247ed1258cad464a99.sqlite
        @

        Thank you.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SlimIT
          wrote on 25 Apr 2013, 14:03 last edited by
          #4

          The new question is : "How to change the name and the emplacement of the SQLite database ?":http://qt-project.org/forums/viewthread/27149/

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Miher
            wrote on 31 Mar 2014, 22:12 last edited by
            #5

            In Mac OS X it is stored in the following location:
            @./Library/Application Support/[ProjectName]/QML/OfflineStorage/Databases/[HASH].sqlite@

            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 Extensions
            • Unsolved