ok thnx.
but how do i clear lets say the registry (or whatever on any OS) when i install or uninstall my application so that the settings state after this is untouched like a virgin
thnx.
ok thnx.
but how do i clear lets say the registry (or whatever on any OS) when i install or uninstall my application so that the settings state after this is untouched like a virgin
thnx.
anyone got some ideas about this???
i am just interested if my whole registry gets messed up because my qt application saves everything within my registry and i dont know how to get rid of these entries explicitely
thnx
Personnaly I have never used QSettings because I don't like the idea of writting more "garbage" to the registry. I prefer to use a QFile to read and write data, like a .ini file.
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
So, kinda like using QSettings with the QSettings::IniFormat flag so it writes to a file instead of the registry?
If you want to do this outside your application then either use some installer facilities that allow manipulating the registry or find if you can call regedit from a script in a way that would allow you to delete registry keys. If that's not an option then write a simple program that will use QSettings and delete the branches your application created.[/QUOTE]
You can use QSettings to write ini files on Windows as well.
Thank you guys, I didn't know that . Guess I should read the docs more often![]()
I learned another thing today![]()
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
Bookmarks