QSettings ini format [SOLVED]
-
Hi all,
My app requirement is an (ugh...) ini file that can be hand edited if required.
The app will run on Win7 32. The logged in user will be an admin.
I'm creating Settings as:
@QSettings(QSettings::IniFormat, QSettings::UserScope, APP_ORG, APP_NAME)@
Where APP_ORG is "Company"
APP_NAME is "ICS"Everything seems to work however instead of an INI anywhere to be found a registry key is created in the spot mentioned in the documentation.
I might be missing something but I thought this constructor would basically setup an ini file in the:
<user>/application data/local/Company/ICS.ini
What am I missing? Thanks in advance.
-
Hi,
You can get the location of the file with QSettings::fileName()
Hope it helps
-
Strangeā¦ Which version of Qt are you using ?
In between, you can use the 4th constructor giving a file pathname
-
Good ! It's not an unknown feature :)
Happy coding !