Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77020

Missing string types overview

    XMLWordPrintable

Details

    • All
    • 8
    • f4076f105 (dev), 1212298fb (6.8), ba5a2fbe7 (dev), 80b6f2e63 (dev), aa88bbbc4 (6.9)
    • 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, Foundation Sprint 107, Foundation Sprint 108, Foundation Sprint 109, Foundation Sprint 110, Foundation Sprint 111, Foundation Sprint 112, Foundation Sprint 113, Foundation Sprint 114, Foundation Sprint 115, Foundation Sprint 116, Foundation Sprint 117, Foundation Sprint 118, Foundation Sprint 119, Foundation Sprint 120, Foundation Sprint 121, Foundation Sprint 122, Foundation Sprint 123, Foundation Sprint 124, Foundation Sprint 125

    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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            matthias_rauter Matthias Rauter
            silicomancer Bernhard Lindner
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            6 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change