Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Preference file?
-
Hello,
Is there with qt and c++ an easy way to make/have a preference file just like on Android?
Something like you only have to write preference.setSetting("name_of_setting" , "value of setting") to save it, and to retrieve the part you do preference.getSetting("name_of_setting") and it will return the value of that "setting".
(Used setting as example, because it works on Android studio this way)
My program runs on windows.
-
@GhostWolf
Take a look at the QSettings class here
-
@kenchan said in Preference file?:
@GhostWolf
Take a look at the QSettings class hereJust had the chance to test. Thanx a lot