From c0fcb2db242a40cdcc2bbfd00332390b64cab439 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Mon, 13 Jan 2025 23:12:59 +0200 Subject: [PATCH] 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 --- src/network/compat/removed_api.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/network/compat/removed_api.cpp b/src/network/compat/removed_api.cpp index f24cb308bd3..abe47ffc0b6 100644 --- a/src/network/compat/removed_api.cpp +++ b/src/network/compat/removed_api.cpp @@ -67,6 +67,9 @@ QList 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);