In Qt I am using QSettings class for savine and retrieving the application details. I saved the file as .ini format using QSettings. Also I saved the file in C://Program Files. But the file is created in the AppData/VirtualStore path. Is this is the expected behaviour.
I want to save and retrieve the file from the custom path like C://Program Files/example/data. But I am not able to read the values from the path. Its always read from the /AppData/VirtualStore/ path.
I am using windows 8 64 bit and Qt version 5.2.1.
How I can save and read the .ini file in the custom path what I mentioned.
Its very helpful any one of you give the solution for this problem.
Thanks In Advance
↧