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

QCharRef misses some QChar methods, notably surrogate handling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.0
    • 5.12.1
    • None

    Description

      The following does not compile, error is: "error: ‘class QCharRef’ has no member named ‘isHighSurrogate". Other methods from QChar might also be missing.

      QString s;
      if (s[0].isHighSurrogate()) {
      ...
      }

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            cfeck Christoph Feck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes