Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Saving content of a table
Robey Mardon last edited by Robey Mardon
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?
Leonardo last edited by
They are probably saving it on some hidden user directory. On Windows, check the %AppData% folder.
Robey Mardon last edited by
@Leonardo You're right, it might not be with a database extension but it has some files to keep states and so on.
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