Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Saving content of a table
Forum Updated to NodeBB v4.3 + New Features

Saving content of a table

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 882 Views 2 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.
  • Robey MardonR Offline
    Robey MardonR Offline
    Robey Mardon
    wrote on last edited by Robey Mardon
    #1

    Is it possible to "save" the content/data of a table locally? For example, I see a lot of application that you insert items in a table and you close, when you open again everything is there and there's no database installed or a database file - or at least I couldn't find, what they do?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Leonardo
      wrote on last edited by
      #2

      They are probably saving it on some hidden user directory. On Windows, check the %AppData% folder.

      Robey MardonR 1 Reply Last reply
      1
      • L Leonardo

        They are probably saving it on some hidden user directory. On Windows, check the %AppData% folder.

        Robey MardonR Offline
        Robey MardonR Offline
        Robey Mardon
        wrote on last edited by
        #3

        @Leonardo You're right, it might not be with a database extension but it has some files to keep states and so on.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          You can use QStandardPaths to get the correct folder where to store e.g. an SQLite file or anything you may need for your application to run

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

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