network/*/removed_api.cpp: include qdebug.h explicitly

Since the removed API uses QDebug. Requested in code review.

This is needed for a subsequent commit (removing qdebug.h from public
headers when possible), but I split out to its own commit to ease
backporting.

Change-Id: I76980634b9ebbae7cf010d99f5095aa94a825824
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit c0fcb2db242a40cdcc2bbfd00332390b64cab439)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 92afa1eaf8783355a2057849e0614342cc4306d4)
This commit is contained in:
Ahmad Samir 2025-01-13 23:12:59 +02:00 committed by Qt Cherry-pick Bot
parent 29a1c57183
commit b5dfaabc4b

View File

@ -67,6 +67,9 @@ QList<QNetworkCookie> QNetworkCookie::parseCookies(const QByteArray &cookieStrin
#ifndef QT_NO_DEBUG_STREAM
#if QT_CONFIG(ssl)
#include "qdebug.h"
QDebug operator<<(QDebug debug, const QSslError::SslError &error)
{
return print(std::move(debug), error);