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

Missing string types overview

    XMLWordPrintable

Details

    • All
    • 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

        For Gerrit Dashboard: QTBUG-77020
        # Subject Branch Project Status CR V

        Activity

          People

            mmutz Marc Mutz
            silicomancer Bernhard Lindner
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change