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.

Pick-to: 6.9 6.8
Change-Id: I76980634b9ebbae7cf010d99f5095aa94a825824
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Ahmad Samir 2025-01-13 23:12:59 +02:00
parent eb533c81b8
commit c0fcb2db24

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);