From ba455b8e1cbd3c892670cbd8b11278edfef7355d Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 6 Jan 2015 10:35:32 +0100 Subject: 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 Reviewed-by: Thomas Hartmann --- src/qml/qml/qqmlpropertycache_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qml/qml/qqmlpropertycache_p.h') 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(); -- cgit v1.2.3