Squash deprecation warnings about SecureTransport being deprecated

One or two of them is enough.

Task-number: QTBUG-85231
Change-Id: I8da2cd0b222eacd534255b6b5548fef9aad408d6
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
Tor Arne Vestbø 2022-09-13 18:55:42 +02:00
parent d245b28275
commit 11c089c67b

View File

@ -27,6 +27,11 @@
#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.
QT_WARNING_DISABLE_DEPRECATED
#include <Security/Security.h>
#include <Security/SecureTransport.h>