summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qtnetworkglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/kernel/qtnetworkglobal.h')
-rw-r--r--src/network/kernel/qtnetworkglobal.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/network/kernel/qtnetworkglobal.h b/src/network/kernel/qtnetworkglobal.h
index 586b847816..b0adc9f68c 100644
--- a/src/network/kernel/qtnetworkglobal.h
+++ b/src/network/kernel/qtnetworkglobal.h
@@ -55,6 +55,19 @@ QT_BEGIN_NAMESPACE
# define Q_NETWORK_EXPORT
#endif
+// ### Qt6: Remove
+// We work around an issue in ICC where it errors out during compilation of Qt by not marking it
+// deprecated if ICC is used
+#ifdef Q_CC_INTEL
+#define QT_DEPRECATED_BEARER_MANAGEMENT
+#else
+#define QT_DEPRECATED_BEARER_MANAGEMENT QT_DEPRECATED_VERSION_5_15
+#endif
+
+// ### Qt6: Remove
+#define QT_DEPRECATED_NETWORK_API_5_15 QT_DEPRECATED_VERSION_5_15
+#define QT_DEPRECATED_NETWORK_API_5_15_X QT_DEPRECATED_VERSION_X_5_15
+
QT_END_NAMESPACE
#endif