Priority: Not Evaluated
Resolution: Won't Do
Affects Version/s: 5.11.3, 5.15.5
Fix Version/s: None
Component/s: Core: QString and Unicode
When QSettings reads the key value with English "", the "" will be dereferenced by QSettings by default.
For example, in the configuration file:
Expect the key value read by QSettings to be: "12345678"
The actual value read is: 12345678
Solution 1: You can use the escape character to prevent the quotation marks from being dereferenced;
Solution 2: The WriteFunc function is provided in Qt's QSetting, so that the quotation marks are not dereferenced by registering the self-defined format reading method;
It is expected that Qt can provide corresponding solutions, and users do not need to implement this solution by themselves;