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