Database vs Configuration files
-
Dear Qt contributors,
I'm writing a GPL "media player" application.
I'm saving and loading tracks and playlists from XML files.
I found that writing and reading XML is a little bit tedious.I was wondering if switching to a SQL database would be a good idea.
- Is it smarter than traditional configuration files ?
- Would it hurt performance ?
- Should I run it from a thread ?
Thanks guys ♥ !
-
i save my configuration in json files.
with qt5 this gehts even simpler with "QJsonDocument":http://qt-project.org/doc/qt-5.1/qtcore/qjsondocument.html and co