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

Qt 6.2 alpha assertion failed in qunicodetools.cpp

    XMLWordPrintable

Details

    • d48058f1970a795afb4cedaae54dde7ca69cb252 (qt/qtbase/dev) fe13695644c3af79979d753fc5fe4d7e45d10a27 (qt/tqtc-qtbase/5.15) 7840748b4390e9967c085fcac6fa52adb16555e7 (qt/qtbase/6.2) dfb1f8d29351094bcf7d1bab91c69c93de890b10 (qt/qtbase/6.1)

    Description

      When rendering a specified string in Qt GUI, the assert in QUnicodeTools::getGraphemeBreaks
      Q_ASSERT(lcls == QUnicodeTables::GraphemeBreak_Extend); will fail and the program aborts.

      Environment:

      Qt 6.2 alpha, (prior versions are not affected)

      Windows with no "global UTF-8" is set.

      Source code encoding in UTF-8

      Attachments

        1. main.cpp
          0.3 kB
        2. main.qml
          0.2 kB

        Issue Links

          Activity

            People

              peppe Giuseppe D'Angelo
              leroy Haoyu Liu
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: