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)
Qt 6.11 is out! See what's new in the release blog

Recommendation: Application Persistence (Configuration, Status etc)

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.4k 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.
  • ? Offline
    ? Offline
    A Former User
    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
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      I think that the class you ara looking for is QtSettings

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        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