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

Fix qdoc/clang errors when parsing qutf8stringview.h

    XMLWordPrintable

Details

    Description

      qutf8stringview.h contains special conditions for qdoc to conceal the actual implementation of QUtf8StringView, which got introduced in Qt 6.3.1 https://codereview.qt-project.org/c/qt/qtbase/+/319651

      Anyhow, with current 6.3.1 , this creates heaps of follow-up problems:

      In file included from main.cpp:1:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/QtCore:9:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qabstractanimation.h:43:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qobject.h:47:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qstring.h:56:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qanystringview.h:43:
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:226:56: error: expected ')'
          constexpr QBasicUtf8StringView(QBasicUtf8StringView<!UseChar8T> other)
                                                             ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:226:35: note: to match this '('
          constexpr QBasicUtf8StringView(QBasicUtf8StringView<!UseChar8T> other)
                                        ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:226:56: error: copy constructor must pass its first argument by reference
          constexpr QBasicUtf8StringView(QBasicUtf8StringView<!UseChar8T> other)
                                                             ^
                                                              const &
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:227:32: error: use of undeclared identifier 'other'
              : QBasicUtf8StringView(other.data(), other.size()) {}
                                     ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:227:46: error: use of undeclared identifier 'other'
              : QBasicUtf8StringView(other.data(), other.size()) {}
                                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:256:80: error: no matching constructor for initialization of 'QUtf8StringView'
              return result == QContainerImplHelper::Null ? QBasicUtf8StringView() : QBasicUtf8StringView(m_data + pos, n);
                                                                                     ^                    ~~~~~~~~~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:192:15: note: candidate template ignored: requirement 'QtPrivate::disjunction<std::is_same<QtPrivate::hide_char8_t, char8_t>, std::is_same<QtPrivate::hide_char8_t, char>, std::is_same<QtPrivate::hide_char8_t, unsigned char>, std::is_same<QtPrivate::hide_char8_t, signed char>>::value' was not satisfied [with Char = QtPrivate::hide_char8_t]
          constexpr QBasicUtf8StringView(const Char *str, qsizetype len)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:197:15: note: candidate template ignored: could not match 'const Char *' against 'qsizetype' (aka 'long long')
          constexpr QBasicUtf8StringView(const Char *f, const Char *l)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:188:15: note: candidate constructor not viable: requires 1 argument, but 2 were provided
          constexpr QBasicUtf8StringView(std::nullptr_t) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:202:15: note: candidate constructor template not viable: requires single argument 'array', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char (&array)[N]) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:205:15: note: candidate constructor template not viable: requires single argument 'str', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char *str) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:214:5: note: candidate constructor not viable: requires single argument 'str', but 2 arguments were provided
          QBasicUtf8StringView(const QByteArray &str) noexcept;
          ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:222:15: note: candidate constructor template not viable: requires single argument 'c', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Container &c) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:186:15: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
          constexpr QBasicUtf8StringView() noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:263:16: error: no matching constructor for initialization of 'QUtf8StringView'
              return QBasicUtf8StringView(m_data, n);
                     ^                    ~~~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:192:15: note: candidate template ignored: requirement 'QtPrivate::disjunction<std::is_same<QtPrivate::hide_char8_t, char8_t>, std::is_same<QtPrivate::hide_char8_t, char>, std::is_same<QtPrivate::hide_char8_t, unsigned char>, std::is_same<QtPrivate::hide_char8_t, signed char>>::value' was not satisfied [with Char = QtPrivate::hide_char8_t]
          constexpr QBasicUtf8StringView(const Char *str, qsizetype len)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:197:15: note: candidate template ignored: could not match 'const Char *' against 'qsizetype' (aka 'long long')
          constexpr QBasicUtf8StringView(const Char *f, const Char *l)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:188:15: note: candidate constructor not viable: requires 1 argument, but 2 were provided
          constexpr QBasicUtf8StringView(std::nullptr_t) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:202:15: note: candidate constructor template not viable: requires single argument 'array', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char (&array)[N]) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:205:15: note: candidate constructor template not viable: requires single argument 'str', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char *str) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:214:5: note: candidate constructor not viable: requires single argument 'str', but 2 arguments were provided
          QBasicUtf8StringView(const QByteArray &str) noexcept;
          ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:222:15: note: candidate constructor template not viable: requires single argument 'c', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Container &c) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:186:15: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
          constexpr QBasicUtf8StringView() noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:270:16: error: no matching constructor for initialization of 'QUtf8StringView'
              return QBasicUtf8StringView(m_data + m_size - n, n);
                     ^                    ~~~~~~~~~~~~~~~~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:192:15: note: candidate template ignored: requirement 'QtPrivate::disjunction<std::is_same<QtPrivate::hide_char8_t, char8_t>, std::is_same<QtPrivate::hide_char8_t, char>, std::is_same<QtPrivate::hide_char8_t, unsigned char>, std::is_same<QtPrivate::hide_char8_t, signed char>>::value' was not satisfied [with Char = QtPrivate::hide_char8_t]
          constexpr QBasicUtf8StringView(const Char *str, qsizetype len)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:197:15: note: candidate template ignored: could not match 'const Char *' against 'qsizetype' (aka 'long long')
          constexpr QBasicUtf8StringView(const Char *f, const Char *l)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:188:15: note: candidate constructor not viable: requires 1 argument, but 2 were provided
          constexpr QBasicUtf8StringView(std::nullptr_t) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:202:15: note: candidate constructor template not viable: requires single argument 'array', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char (&array)[N]) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:205:15: note: candidate constructor template not viable: requires single argument 'str', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char *str) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:214:5: note: candidate constructor not viable: requires single argument 'str', but 2 arguments were provided
          QBasicUtf8StringView(const QByteArray &str) noexcept;
          ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:222:15: note: candidate constructor template not viable: requires single argument 'c', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Container &c) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:186:15: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
          constexpr QBasicUtf8StringView() noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:274:27: error: no matching constructor for initialization of 'QUtf8StringView'
          { verify(pos); return QBasicUtf8StringView{m_data + pos, m_size - pos}; }
                                ^                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:192:15: note: candidate template ignored: requirement 'QtPrivate::disjunction<std::is_same<QtPrivate::hide_char8_t, char8_t>, std::is_same<QtPrivate::hide_char8_t, char>, std::is_same<QtPrivate::hide_char8_t, unsigned char>, std::is_same<QtPrivate::hide_char8_t, signed char>>::value' was not satisfied [with Char = QtPrivate::hide_char8_t]
          constexpr QBasicUtf8StringView(const Char *str, qsizetype len)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:197:15: note: candidate template ignored: could not match 'const Char *' against 'long long'
          constexpr QBasicUtf8StringView(const Char *f, const Char *l)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:188:15: note: candidate constructor not viable: requires 1 argument, but 2 were provided
          constexpr QBasicUtf8StringView(std::nullptr_t) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:202:15: note: candidate constructor template not viable: requires single argument 'array', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char (&array)[N]) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:205:15: note: candidate constructor template not viable: requires single argument 'str', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char *str) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:214:5: note: candidate constructor not viable: requires single argument 'str', but 2 arguments were provided
          QBasicUtf8StringView(const QByteArray &str) noexcept;
          ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:222:15: note: candidate constructor template not viable: requires single argument 'c', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Container &c) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:186:15: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
          constexpr QBasicUtf8StringView() noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:276:30: error: no matching constructor for initialization of 'QUtf8StringView'
          { verify(pos, n); return QBasicUtf8StringView(m_data + pos, n); }
                                   ^                    ~~~~~~~~~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:192:15: note: candidate template ignored: requirement 'QtPrivate::disjunction<std::is_same<QtPrivate::hide_char8_t, char8_t>, std::is_same<QtPrivate::hide_char8_t, char>, std::is_same<QtPrivate::hide_char8_t, unsigned char>, std::is_same<QtPrivate::hide_char8_t, signed char>>::value' was not satisfied [with Char = QtPrivate::hide_char8_t]
          constexpr QBasicUtf8StringView(const Char *str, qsizetype len)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:197:15: note: candidate template ignored: could not match 'const Char *' against 'qsizetype' (aka 'long long')
          constexpr QBasicUtf8StringView(const Char *f, const Char *l)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:188:15: note: candidate constructor not viable: requires 1 argument, but 2 were provided
          constexpr QBasicUtf8StringView(std::nullptr_t) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:202:15: note: candidate constructor template not viable: requires single argument 'array', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char (&array)[N]) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:205:15: note: candidate constructor template not viable: requires single argument 'str', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char *str) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:214:5: note: candidate constructor not viable: requires single argument 'str', but 2 arguments were provided
          QBasicUtf8StringView(const QByteArray &str) noexcept;
          ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:222:15: note: candidate constructor template not viable: requires single argument 'c', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Container &c) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:186:15: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
          constexpr QBasicUtf8StringView() noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:278:25: error: no matching constructor for initialization of 'QUtf8StringView'
          { verify(n); return QBasicUtf8StringView(m_data, n); }
                              ^                    ~~~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:192:15: note: candidate template ignored: requirement 'QtPrivate::disjunction<std::is_same<QtPrivate::hide_char8_t, char8_t>, std::is_same<QtPrivate::hide_char8_t, char>, std::is_same<QtPrivate::hide_char8_t, unsigned char>, std::is_same<QtPrivate::hide_char8_t, signed char>>::value' was not satisfied [with Char = QtPrivate::hide_char8_t]
          constexpr QBasicUtf8StringView(const Char *str, qsizetype len)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:197:15: note: candidate template ignored: could not match 'const Char *' against 'qsizetype' (aka 'long long')
          constexpr QBasicUtf8StringView(const Char *f, const Char *l)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:188:15: note: candidate constructor not viable: requires 1 argument, but 2 were provided
          constexpr QBasicUtf8StringView(std::nullptr_t) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:202:15: note: candidate constructor template not viable: requires single argument 'array', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char (&array)[N]) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:205:15: note: candidate constructor template not viable: requires single argument 'str', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char *str) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:214:5: note: candidate constructor not viable: requires single argument 'str', but 2 arguments were provided
          QBasicUtf8StringView(const QByteArray &str) noexcept;
          ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:222:15: note: candidate constructor template not viable: requires single argument 'c', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Container &c) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:186:15: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
          constexpr QBasicUtf8StringView() noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:280:25: error: no matching constructor for initialization of 'QUtf8StringView'
          { verify(n); return QBasicUtf8StringView(m_data + m_size - n, n); }
                              ^                    ~~~~~~~~~~~~~~~~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:192:15: note: candidate template ignored: requirement 'QtPrivate::disjunction<std::is_same<QtPrivate::hide_char8_t, char8_t>, std::is_same<QtPrivate::hide_char8_t, char>, std::is_same<QtPrivate::hide_char8_t, unsigned char>, std::is_same<QtPrivate::hide_char8_t, signed char>>::value' was not satisfied [with Char = QtPrivate::hide_char8_t]
          constexpr QBasicUtf8StringView(const Char *str, qsizetype len)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:197:15: note: candidate template ignored: could not match 'const Char *' against 'qsizetype' (aka 'long long')
          constexpr QBasicUtf8StringView(const Char *f, const Char *l)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:188:15: note: candidate constructor not viable: requires 1 argument, but 2 were provided
          constexpr QBasicUtf8StringView(std::nullptr_t) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:202:15: note: candidate constructor template not viable: requires single argument 'array', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char (&array)[N]) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:205:15: note: candidate constructor template not viable: requires single argument 'str', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char *str) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:214:5: note: candidate constructor not viable: requires single argument 'str', but 2 arguments were provided
          QBasicUtf8StringView(const QByteArray &str) noexcept;
          ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:222:15: note: candidate constructor template not viable: requires single argument 'c', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Container &c) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:186:15: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
          constexpr QBasicUtf8StringView() noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:282:25: error: no matching constructor for initialization of 'QUtf8StringView'
          { verify(n); return QBasicUtf8StringView(m_data, m_size - n); }
                              ^                    ~~~~~~~~~~~~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:192:15: note: candidate template ignored: requirement 'QtPrivate::disjunction<std::is_same<QtPrivate::hide_char8_t, char8_t>, std::is_same<QtPrivate::hide_char8_t, char>, std::is_same<QtPrivate::hide_char8_t, unsigned char>, std::is_same<QtPrivate::hide_char8_t, signed char>>::value' was not satisfied [with Char = QtPrivate::hide_char8_t]
          constexpr QBasicUtf8StringView(const Char *str, qsizetype len)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:197:15: note: candidate template ignored: could not match 'const Char *' against 'long long'
          constexpr QBasicUtf8StringView(const Char *f, const Char *l)
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:188:15: note: candidate constructor not viable: requires 1 argument, but 2 were provided
          constexpr QBasicUtf8StringView(std::nullptr_t) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:202:15: note: candidate constructor template not viable: requires single argument 'array', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char (&array)[N]) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:205:15: note: candidate constructor template not viable: requires single argument 'str', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Char *str) noexcept;
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:214:5: note: candidate constructor not viable: requires single argument 'str', but 2 arguments were provided
          QBasicUtf8StringView(const QByteArray &str) noexcept;
          ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:222:15: note: candidate constructor template not viable: requires single argument 'c', but 2 arguments were provided
          constexpr QBasicUtf8StringView(const Container &c) noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:186:15: note: candidate constructor not viable: requires 0 arguments, but 2 were provided
          constexpr QBasicUtf8StringView() noexcept
                    ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:321:62: error: expected '(' for function-style cast or type construction
              return QtPrivate::compareStrings(QBasicUtf8StringView<false>(lhs.data(), lhs.size()),
                                               ~~~~~~~~~~~~~~~~~~~~^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:321:70: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
              return QtPrivate::compareStrings(QBasicUtf8StringView<false>(lhs.data(), lhs.size()),
                                                                           ^~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:322:62: error: expected '(' for function-style cast or type construction
                                               QBasicUtf8StringView<false>(rhs.data(), rhs.size()));
                                               ~~~~~~~~~~~~~~~~~~~~^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:322:70: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
                                               QBasicUtf8StringView<false>(rhs.data(), rhs.size()));
                                                                           ^~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:328:63: error: expected '(' for function-style cast or type construction
                     && QtPrivate::equalStrings(QBasicUtf8StringView<false>(lhs.data(), lhs.size()),
                                                ~~~~~~~~~~~~~~~~~~~~^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:328:71: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
                     && QtPrivate::equalStrings(QBasicUtf8StringView<false>(lhs.data(), lhs.size()),
                                                                            ^~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:329:63: error: expected '(' for function-style cast or type construction
                                                QBasicUtf8StringView<false>(rhs.data(), rhs.size()));
                                                ~~~~~~~~~~~~~~~~~~~~^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:329:71: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
                                                QBasicUtf8StringView<false>(rhs.data(), rhs.size()));
                                                                            ^~~~~~~~
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:376:22: error: no type named 'QUtf8StringView' in namespace 'q_no_char8_t'; did you mean simply 'QUtf8StringView'?
      [[nodiscard]] inline q_no_char8_t::QUtf8StringView qToUtf8StringViewIgnoringNull(const QStringLike &s) noexcept
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                           QUtf8StringView
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: 'QUtf8StringView' declared here
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      In file included from main.cpp:1:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/QtCore:9:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qabstractanimation.h:43:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qobject.h:47:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qstring.h:56:
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qanystringview.h:272:29: error: no type named 'QUtf8StringView' in namespace 'q_no_char8_t'; did you mean simply 'QUtf8StringView'?
          [[nodiscard]] constexpr q_no_char8_t::QUtf8StringView asUtf8StringView() const
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  QUtf8StringView
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:126:7: note: 'QUtf8StringView' declared here
      class QBasicUtf8StringView
            ^
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qutf8stringview.h:122:30: note: expanded from macro 'QBasicUtf8StringView'
      #define QBasicUtf8StringView QUtf8StringView
                                   ^
      In file included from main.cpp:1:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/QtCore:9:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qabstractanimation.h:43:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qobject.h:47:
      In file included from C:\Qt\6.3.1\msvc2019_64\include\QtCore/qstring.h:56:
      C:\Qt\6.3.1\msvc2019_64\include\QtCore/qanystringview.h:273:48: error: no member named 'QUtf8StringView' in namespace 'q_no_char8_t'
          { return Q_ASSERT(isUtf8()), q_no_char8_t::QUtf8StringView{m_data_utf8, size()}; }
                                       ~~~~~~~~~~~~~~^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      4 warnings and 20 errors generated.
      

      Attachments

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

        Activity

          People

            docinfrastructure Documentation Infrastructure Team
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes