Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.12, 5.14.1
-
None
Description
Tested by me under Qt 5.12.2 as supplied with Ubuntu 19.04. Tested by other people on other releases/platforms, including Windows as well as Linux.
Example at https://doc.qt.io/qt-5/qsettings.html#beginWriteArray chooses to state
The generated keys will have the form
- logins/size
- logins/1/userName
- etc.
However, the generated keys use backslashes rather than forward slashes, e.g. logins\1\userName etc.
This concerned me when I started using it. It does work OK with the corresponding read array.
Is this intentional behaviour (with no unanticipated side-effects from using backslash in key names), in which case it's a documentation issue, or is the code really supposed to be as shown?