Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.13.0
-
None
-
-
8
-
Foundation Sprint 86, Foundation Sprint 87, Foundation Sprint 88, Foundation Sprint 89, Foundation Sprint 90, Foundation Sprint 91, Foundation Sprint 92, Foundation Sprint 93, Foundations Sprint 94, Foundations Sprint 95, Foundations Sprint 96, Foundations Sprint 97, Foundations Sprint 98, Foundations Sprint 99, Foundation Sprint 100, Foundation Sprint 101, Foundations Sprint 102, Foundation Sprint 103, Foundation Sprint 104, Foundation Sprint 105, Foundation Sprint 106
Description
There are several string types in Qt like QString, QByteArray, QLatin1String, QStringLiteral, QStringRef and QStringView (not sure if there are missing some more).
For beginners (but even for advanced developers) it is hard to understand the use cases for these types.
Please add a detailed comparison chapter/table to the Qt documentation that helps selecting the right type. Don't forget to link it to each of the above types' chapters.
Maybe it could be useful to explain tr() in that context.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-77020 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
268079,14 | doc: Overview of Qt's string types | 5.14 | qt/qtdoc | Status: NEW | -1 | 0 |