QmlDesigner: fix hardcoded types for Qt 6.5.1

Task-number: QDS-9737
Change-Id: I286d706b506904b4d6f22549d1ec294d16859df0
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2023-05-08 13:06:27 +02:00
committed by Tim Jenssen
parent f68016cfdc
commit b2f3a7d7f9

View File

@@ -284,7 +284,7 @@ bool isComponentType(const QmlDesigner::TypeName &type)
{
return type == "Component" || type == "Qt.Component" || type == "QtQuick.Component"
|| type == "QtQml.Component" || type == "<cpp>.QQmlComponent" || type == "QQmlComponent"
|| type == "QML.Component";
|| type == "QML.Component" || type == "QtQml.Base.Component";
}
bool isCustomParserType(const QmlDesigner::TypeName &type)
@@ -304,7 +304,8 @@ bool isPropertyChangesType(const QmlDesigner::TypeName &type)
bool isConnectionsType(const QmlDesigner::TypeName &type)
{
return type == "Connections" || type == "QtQuick.Connections" || type == "Qt.Connections" || type == "QtQml.Connections";
return type == "Connections" || type == "QtQuick.Connections" || type == "Qt.Connections"
|| type == "QtQml.Connections" || type == "QtQml.Base.Connections";
}
bool propertyIsComponentType(const QmlDesigner::NodeAbstractProperty &property, const QmlDesigner::TypeName &type, QmlDesigner::Model *model)