aboutsummaryrefslogtreecommitdiffstats
path: root/src/macextras/qmacfunctions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macextras/qmacfunctions.h')
-rw-r--r--src/macextras/qmacfunctions.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/macextras/qmacfunctions.h b/src/macextras/qmacfunctions.h
index c624d15..cf7cc2a 100644
--- a/src/macextras/qmacfunctions.h
+++ b/src/macextras/qmacfunctions.h
@@ -66,8 +66,10 @@ class QWindow;
namespace QtMac
{
-Q_MACEXTRAS_EXPORT NSData *toNSData(const QByteArray &data);
-Q_MACEXTRAS_EXPORT QByteArray fromNSData(const NSData *data);
+#if QT_DEPRECATED_SINCE(5,3)
+QT_DEPRECATED Q_MACEXTRAS_EXPORT NSData *toNSData(const QByteArray &data);
+QT_DEPRECATED Q_MACEXTRAS_EXPORT QByteArray fromNSData(const NSData *data);
+#endif
Q_MACEXTRAS_EXPORT CGImageRef toCGImageRef(const QPixmap &pixmap);
Q_MACEXTRAS_EXPORT QPixmap fromCGImageRef(CGImageRef image);