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

Error: no matching function for call to ‘QChar::QChar(const qle_ushort&)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.8.1, 6.9.0 FF
    • 6.9
    • Qt5 Compat
    • None
    • d8d6de347 (dev), 89d5b5eb6 (6.8), 0cabe26f3 (dev), 0091a0a23 (6.8)
    • Foundation Sprint 118

    Description

      /home/qt/work/qt/qt5compat/src/core5/serialization/qbinaryjson_p.h:226:38: error: no matching function for call to ‘QChar::QChar(const qle_ushort&)’
        226 |             ch[i] = QChar(d->utf16[i]);
            |                                      ^
      In file included from /home/qt/work/install/target/include/QtCore/qstring.h:14,
                       from /home/qt/work/install/target/include/QtCore/qhashfunctions.h:9,
                       from /home/qt/work/install/target/include/QtCore/qfloat16.h:10,
                       from /home/qt/work/install/target/include/QtCore/qmetatype.h:15,
                       from /home/qt/work/install/target/include/QtCore/qcborcommon.h:8,
                       from /home/qt/work/install/target/include/QtCore/qcborvalue.h:8,
                       from /home/qt/work/install/target/include/QtCore/qjsonvalue.h:7,
                       from /home/qt/work/install/target/include/QtCore/qjsondocument.h:8,
                       from /home/qt/work/qt/qt5compat/src/core5/serialization/qbinaryjson.h:7,
                       from /home/qt/work/qt/qt5compat/src/core5/serialization/qbinaryjson_p.h:19,
                       from /home/qt/work/qt/qt5compat/src/core5/serialization/qbinaryjson.cpp:4:
      /home/qt/work/install/target/include/QtCore/qchar.h:149:43: note: candidate: ‘template<class Char, typename std::enable_if<std::is_same<Char, unsigned char>::value, bool>::type <anonymous> > constexpr QChar::QChar(Char)’
        149 |     QT_ASCII_CAST_WARN constexpr explicit QChar(const Char c) noexcept : ucs(c) { }
      

      Build log: https://testresults.qt.io/logs/qt/qt5compat/45aa8bd94915e060df8e548f96d320babacb72ef/LinuxUbuntu_22_04x86_64LinuxQEMUmips64GCCqtci-linux-Ubuntu-22.04-x86_64-51-c5013cDisableTests_GenerateSBOM_Sccache_UseConfigure_VerifySBOM/de4b6eb8e0dfa9bd27db7352d16a324ef9f1fa25/build_1729655354/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qt5compat/tasks/1729654128

      Tested changes (refs/builds/qtci/dev/1729653791):
      https://codereview.qt-project.org/c/qt/qt5compat/+/599102/2 Update dependencies on 'dev' in qt/qt5compat

      Attachments

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

        Activity

          People

            mmutz Marc Mutz
            janihe Jani Heikkinen
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes