Hi All,
When using QSettings to write a value into the Windows registry you can do:
and all is good.Qt Code:
settings.setValue("AValue", "Some String");To copy to clipboard, switch view to plain text mode
I have a need to store a string that begins with "@". QSettings, which uses "@" as a marker for encoding serialised types, escapes the "@" and stores "@@..." This is no problem if QSettings is the only reader of this value because it un-escapes on read. In my case, the COM subsystem needs to read the value and see only a single "@". Is there a way to suppress the QSettings behaviour or will I have to revert to raw Windows API for this one value?
Bookmarks