forked from qt-creator/qt-creator
Fix compilation after API change in QtDeclarative
Change-Id: Ibaeaa4b089a508b1cb44b5f90921675b49b3beb3 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -556,7 +556,12 @@ bool isSubclassOf(QObject *object, const QByteArray &superTypeName)
|
||||
|
||||
void getPropertyCache(QObject *object, QQmlEngine *engine)
|
||||
{
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 4, 0)
|
||||
QQuickDesignerSupportProperties::getPropertyCache(object, engine);
|
||||
#else
|
||||
Q_UNUSED(engine);
|
||||
QQuickDesignerSupportProperties::getPropertyCache(object);
|
||||
#endif
|
||||
}
|
||||
|
||||
void registerNotifyPropertyChangeCallBack(void (*callback)(QObject *, const PropertyName &))
|
||||
|
Reference in New Issue
Block a user