aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qtqmlglobal_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qtqmlglobal_p.h')
-rw-r--r--src/qml/qtqmlglobal_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qml/qtqmlglobal_p.h b/src/qml/qtqmlglobal_p.h
index e1752e8f4a..c29e09cbea 100644
--- a/src/qml/qtqmlglobal_p.h
+++ b/src/qml/qtqmlglobal_p.h
@@ -22,4 +22,10 @@
#define Q_QML_AUTOTEST_EXPORT Q_AUTOTEST_EXPORT
+#ifdef QT_NO_DEBUG
+#define QML_NEARLY_ALWAYS_INLINE Q_ALWAYS_INLINE
+#else
+#define QML_NEARLY_ALWAYS_INLINE inline
+#endif
+
#endif // QTQMLGLOBAL_P_H