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

Port QString::arg() to QAnyStringView

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8
    • None
    • 13
    • 23dfacb17 (dev), ef5cba01f (6.7), d61060dab (dev), 0b3543472 (tqtc/lts-6.5), cf8b9c1f6 (dev), 2c8302682 (dev), b8500f3ef (dev)
    • 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

    Description

      `QString.arg` supports multiple string formats, but not QUtf8StringView:

              QStringLiteral("yada %1").arg(QUtf8StringView(u8"yada"));
      

      it would be great if this would be supported

      Attachments

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              timblechmann tim blechmann
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: