[Qt-interest] QSettings never saves anything
Matthias Pospiech
matthias.pospiech at gmx.de
Wed Aug 19 14:49:41 CEST 2009
If I want to use QSettings in its native OS way, I can never get the
value after I saved it:
SettingsFilename = "abc";
QSettings settings;
settings.setValue("SettingsFilename", SettingsFilename);
in different function:
QSettings settings; // Native Settings of OS (not INI)
filename = settings.value("SettingsFilename").toString();
then filename=="".
So from what I can see the value was nat successfully written or read or
both.
What is the problem?
OS is WinXP SP3
Matthias
More information about the Qt-interest-old
mailing list