aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qtqmlglobal_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-06-28 13:57:01 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-06-28 13:15:49 +0000
commit3d266d90cb920375bb856844baea290e52355aad (patch)
treef30b62cdb2912b640f4b123e46dabaa5e4516b06 /src/qml/qtqmlglobal_p.h
parentca9e2a0d7488cbbb94d8343c43eb49c6ee5f6519 (diff)
Introduce a private API version to faciliate API changes
Task-number: QTBUG-69180 Change-Id: If7b8ed5971d577b938569c5e280bafd1d0380744 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qtqmlglobal_p.h')
-rw-r--r--src/qml/qtqmlglobal_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qtqmlglobal_p.h b/src/qml/qtqmlglobal_p.h
index 4c0ba338d8..664aee6d3b 100644
--- a/src/qml/qtqmlglobal_p.h
+++ b/src/qml/qtqmlglobal_p.h
@@ -57,6 +57,8 @@
# include <QtQml/private/qtqml-config_p.h>
#endif
+#define Q_QML_PRIVATE_API_VERSION 1
+
#define Q_QML_PRIVATE_EXPORT Q_QML_EXPORT
#if !defined(QT_QMLDEVTOOLS_LIB) && !defined(QT_BUILD_QMLDEVTOOLS_LIB)