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. Recommendation: Application Persistence (Configuration, Status etc)
Forum Updated to NodeBB v4.3 + New Features

Recommendation: Application Persistence (Configuration, Status etc)

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

    Each platform has its own mechanism: Windows uses Registry, Mac uses pFiles, Linux... well, probably uses .ini files.

    When building a QT application that runs on all platforms and needs to locally persist configuration & states of various elements, is there a recommendation for a Qt class that handles property persistence such that all I have to bother with is "Read", "Write" calls and 'property' retrieval/update?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gronerth
      wrote on last edited by
      #2

      I think that the class you ara looking for is QtSettings


      JETG

      1 Reply Last reply
      0
      • R Offline
        R Offline
        ronM71
        wrote on last edited by
        #3

        Looked at the docs, perfect!. thanks

        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