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. How to store file metadata for desktop application
QtWS25 Last Chance

How to store file metadata for desktop application

Scheduled Pinned Locked Moved Solved General and Desktop
qt 5.9.5c++mvcfiles
2 Posts 2 Posters 386 Views
  • 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.
  • D Offline
    D Offline
    Daniel_Contro
    wrote on 24 Aug 2020, 10:01 last edited by
    #1

    Hi there,
    I'm currently developing a desktop application for a university project and I was wondering which is the right way to store application metadata (such as the path where all files are saved/loaded, user settings, ecc.). I have to follow the MVC pattern and I can only use standard c++ or simple Qt classes (nothing too much fancy).

    Thanks in advance or the help.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 24 Aug 2020, 10:07 last edited by
      #2

      Use QStandardPaths and store settings using QSettings. It's simple and the standard way of doing things.

      (Z(:^

      1 Reply Last reply
      4

      1/2

      24 Aug 2020, 10:01

      • Login

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