On this page

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

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.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.