aboutsummaryrefslogtreecommitdiffstats
path: root/src/macextras/qmacfunctions.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/macextras/qmacfunctions.mm')
-rw-r--r--src/macextras/qmacfunctions.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macextras/qmacfunctions.mm b/src/macextras/qmacfunctions.mm
index 881826a..2a76877 100644
--- a/src/macextras/qmacfunctions.mm
+++ b/src/macextras/qmacfunctions.mm
@@ -66,6 +66,7 @@ QT_BEGIN_NAMESPACE
namespace QtMac
{
+#if QT_DEPRECATED_SINCE(5,3)
/*!
\obsolete
@@ -88,6 +89,7 @@ QByteArray fromNSData(const NSData *data)
[data getBytes:ba.data() length:ba.size()];
return ba;
}
+#endif // QT_DEPRECATED_SINCE
/*!
Creates a \c CGImageRef equivalent to the QPixmap. Returns the \c CGImageRef handle.