Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.0.0 Beta4
-
None
-
Clang 11
-
-
bf820bd3e2eb9d7670fa5b5b6e9bc00c5b38d1ba
Description
Can't get any builds that use qdebug.h to work in 6.0.0 Beta4:
In file included from /usr/include/qt6/QtCore/QCoreApplication:1: In file included from /usr/include/qt6/QtCore/qcoreapplication.h:53: /usr/include/qt6/QtCore/qdebug.h:147:65: error: cannot initialize a parameter of type 'const char *' with an rvalue of type 'QBasicUtf8StringView<true>::const_pointer' (aka 'const char8_t *') inline QDebug &operator<<(QUtf8StringView s) \{ putByteArray(s.data(), s.size(), ContainsBinary); return maybeSpace(); } ^~~~~~~~ /usr/include/qt6/QtCore/qdebug.h:97:35: note: passing argument to parameter 'begin' here void putByteArray(const char *begin, size_t length, Latin1Content content); ^ 1 error generated.
Attachments
Issue Links
- is duplicated by
-
QTBUG-88412 (QUtf8StringView) break QDebug compilation with C++20
- Closed