Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How to save and read from .ini file using QSetting from the custom path

$
0
0
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

Viewing all articles
Browse latest Browse all 4972

Trending Articles