forked from qt-creator/qt-creator
QmlDesigner: Add support for object properties
property QtObject: myObject: QtObject {} Change-Id: I1f1428bdb383c31fd2976bd7ac69087da54d1044 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -97,6 +97,9 @@ static TypeName resolveTypeName(const ASTPropertyReference *ref, const ContextPt
|
||||
if (const CppComponentValue * componentObjectValue = value->asCppComponentValue()) {
|
||||
type = componentObjectValue->className().toUtf8();
|
||||
dotProperties = getObjectTypes(componentObjectValue, context);
|
||||
} else if (const ObjectValue * objectValue = value->asObjectValue()) {
|
||||
type = objectValue->className().toUtf8();
|
||||
dotProperties = getObjectTypes(objectValue, context);
|
||||
}
|
||||
|
||||
if (type == "alias") {
|
||||
|
Reference in New Issue
Block a user