Details
-
Bug
-
Status: Closed
-
Not Evaluated
-
Resolution: Won't Do
-
6.6
-
None
-
None
-
Fedora 37, gcc 12.2.1
Description
I various places in KDE we have code that does something like
QByteArray foo = ...; qputenv("FOO", foo + "bar");
This used to work fine until at least 6.4. With current dev however I get
error: could not convert 'operator+<QByteArray, char [2]>(foo, ":")' from 'QStringBuilder<QByteArray, char [2]>' to 'QByteArrayView' 73 | qputenv("FOO", foo + ":"); | ~~~~^~~~~ | | | QStringBuilder<QByteArray, char [2]>
I haven't tested 6.5 in particular, but given that I suspect https://codereview.qt-project.org/c/qt/qtbase/+/424888 is the relevant code change it should be affected too