- Qt 6.12
- Qt Qml
- QML Types
- qmlProperty
- Qt 6.12.0 Reference Documentation

# qmlProperty QML Value Type

a value referring to a property of an object. More...

Import Statement: | `import QtQml`
Since: | Qt 6.12
In C++: | QQmlProperty

## Properties

- name : string
- object : QtObject

## Detailed Description

The `qmlProperty` type refers to a property of a specific object instance.

An invalid value of type `qmlProperty` has a `null` `object` and an empty `name`.

`qmlProperty` values are not constructible from QML but can be passed from C++.

See also QML Value Types.

## Property Documentation

### name : string `[read-only]`

This read-only property holds the name of the referenced property.

### object : QtObject `[read-only]`

This read-only property holds the object of the referenced property.