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

QCborValue does not support QChar

    XMLWordPrintable

    Details

      Description

      It serializes it as a string instead.

      QVariant v = QDir::separator();
      auto c = QCborValue::fromVariant(v);
      QChar ch = c.toVariant().toChar();
      Q_ASSERT(ch == QDir::separator()); // assertion fails
      

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            alervd Alexander Dyagilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes