Silence compilation warning about SecureTransport being deprecated

We know it's deprecated, and have a bug report to track it, so we don't
need a compilation warning on each build.

Task-number: QTBUG-119171
Change-Id: Iea9e45ae154761efb0960acf34a79953518024c1
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
Tor Arne Vestbø 2025-04-24 12:57:18 +02:00
parent 04506aa878
commit 4280d97719

View File

@ -27,9 +27,9 @@
#include <QtNetwork/qabstractsocket.h>
#include <QtNetwork/private/qsslsocket_p.h>
#warning SecureTransport was deprecated in macOS 10.15 and iOS 13, \
and is no longer supported. We should be using Network.framework instead. \
See QTBUG-85231 for more information.
// SecureTransport was deprecated in macOS 10.15 and iOS 13, and is no
// longer supported. We should be using Network.framework instead.
// See QTBUG-119171 for more information.
QT_WARNING_DISABLE_DEPRECATED
#include <Security/Security.h>