aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertycache_p.h
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-01-06 10:35:32 +0100
committerhjk <hjk@theqtcompany.com>2015-01-06 10:55:33 +0100
commitba455b8e1cbd3c892670cbd8b11278edfef7355d (patch)
tree7aa1804cb28236d7d79cb49695b4772cfae715ac /src/qml/qml/qqmlpropertycache_p.h
parentd8a09da9a49fa71bb127b5f0ba86e8f5e01c180c (diff)
Some minimal changes to make qmlpuppet compile again
Access to QJSEnginePrivate::createCache and the previous signature of QQmlPropertyCache::invalidate is used. Change-Id: Ie2578eee33ee4ebb2cdc4574d8d1cb7c8209868e Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache_p.h')
-rw-r--r--src/qml/qml/qqmlpropertycache_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h
index 224de948eb..77bbd3dc14 100644
--- a/src/qml/qml/qqmlpropertycache_p.h
+++ b/src/qml/qml/qqmlpropertycache_p.h
@@ -249,6 +249,8 @@ public:
void update(const QMetaObject *);
void invalidate(const QMetaObject *);
+ // Used by qmlpuppet. Remove as soon Creator requires Qt 5.5.
+ void invalidate(void *, const QMetaObject *mo) { invalidate(mo); }
QQmlPropertyCache *copy();