Import and export database
-
Hi,
Can you explain a bit more ?
Do you mean you have a pre-existing database and read that database and store those contents in a file ? Or any other ? -
I'm sorry about it
yes, I create one app use database and I can't save any thing when I close it
now I want to save it in a file .txt and import it when this app start like MySQL Query dump and import. Can you show me a clearly code for it
thank u so muck -
Have a look at "QFile":http://doc.qt.io/qt-5/qfile.html#details class. It is meant for File handling purposes.