Recommendation: Application Persistence (Configuration, Status etc)

  • 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?

  • I think that the class you ara looking for is QtSettings

  • Looked at the docs, perfect!. thanks

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.