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. Database vs Configuration files

Database vs Configuration files

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.1k 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.
  • B Offline
    B Offline
    bunjee
    wrote on last edited by
    #1

    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 ♥ !

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zerbp
      wrote on last edited by
      #2

      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

      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