summaryrefslogtreecommitdiffstats
path: root/src/network/compat/removed_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/compat/removed_api.cpp')
-rw-r--r--src/network/compat/removed_api.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/network/compat/removed_api.cpp b/src/network/compat/removed_api.cpp
index ceda1175385..f24cb308bd3 100644
--- a/src/network/compat/removed_api.cpp
+++ b/src/network/compat/removed_api.cpp
@@ -63,6 +63,17 @@ QList<QNetworkCookie> QNetworkCookie::parseCookies(const QByteArray &cookieStrin
#endif
#include "qnetworkrequest.h" // inlined API
+#include "qsslerror.h"
+
+#ifndef QT_NO_DEBUG_STREAM
+#if QT_CONFIG(ssl)
+QDebug operator<<(QDebug debug, const QSslError::SslError &error)
+{
+ return print(std::move(debug), error);
+}
+#endif
+#endif
+
// #include "qotherheader.h"
// // implement removed functions from qotherheader.h
// order sections alphabetically