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

QML uses qPrintable() instead of qUtf8Printable() to display errors

    XMLWordPrintable

Details

    • Windows
    • 7490795a36d6bb4000b043b15226774b365b1ce1 (qt/qtdeclarative/dev)

    Description

      qqmlengine.cpp dumpwarning() uses qPrintable, which contains toLocal8Bit() inside, but QDebug operator<< calls QString::fromUtf8() to convert it back to QString, so it loses some characters like °, and we see � instead. Docs (https://doc.qt.io/qt-5/qtglobal.html#qPrintable) have a note about that.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            roman.yushkov Roman Yushkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes