hi,
i am trying to use QSettings for storing som config info.

i am using IniFormat with a specific path. I can't get my inifile created.

to simplify the case, i wrote the simplest code below. even that does not seem to work. This is so simple and I guess i am missing something. but what?
Qt Code:
  1. QSettings s("test.ini", QSettings::IniFormat);
  2. int stat = s.status(); // this returns 0
  3. s.setValue("someconfig","somevalue");
  4. stat = s.status(); // this returns 0
To copy to clipboard, switch view to plain text mode 

after running the above code without errors , i am looking for "test.ini"
there is no such file.

is there something more i must add into my code?

thanks..