Can't write to Resource INI file
Solved
General and Desktop
-
Hello I was using QSettings to read and write to INI files.
I also added these files to Resource files.However if I open these files with resource syntax like QSettings(":/a.ini", QSettings::IniFormat); it can read but can't write. (iswritable() returns false)
But if it is opened with a plain path format QSettings("D:/a.ini", QSettings::IniFormat); There is no problem both reading and writing.I haven't used Qt for a while. It was all right in a previous version but I can't recall. Maybe 5.12.
-
Hi,
The Qt resources have never been writable. They are compiled and built in your application executable/library/as external file.