Fix compilation on Qt 6.8
Qt 6.8 does not define operator+() for QByteArray and QByteArrayView,
so the new code for handling cookies failed to compile.
Explicitly construct a QByteArray out of the returned view to avoid
the issue.
Amends 939976f5e3897770a8a05fc91c34a56f88795339.
Task-number: QTBUG-137180
Change-Id: Ib5abc1e0fec195a7fb16460ea785bd5ce7141d9e
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
| commit | e26b462aa0c4ae0ee92a389a839df64d5b4ea8c7 |
| parent | ee1080a8b652991c822cd45ada6207430f88fe67 |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Thu, 25 Sep 2025 16:20:37 +0200 |
- M src/main/resources/cpp-qt6-client/HttpRequest.cpp.mustache
- M tests/auto/colorpalette/client/client/QtOAIHttpRequest.cpp
- M tests/auto/colorpalette/qmlclient/client/OAIHttpRequest.cpp
- M tests/auto/mediatype/client/client/QtOAIHttpRequest.cpp
- M tests/auto/openapi2.0/client/client/QtOAIHttpRequest.cpp
- M tests/auto/operation-parameters/client/client/QtOAIHttpRequest.cpp
- M tests/auto/petstore/client/client/QtOAIHttpRequest.cpp
- M tests/auto/petstore/qmlclient/client/OAIHttpRequest.cpp