Printing the item using its id (rather than the id property of the item) works. If the objectName property is defined, that will also be output. For example:
Item {
id: myItem
objectName: "my item"
Component.onCompleted: print(myItem)
}
should result in something along the lines of:
qml: QQuickItem(0×101e12c60, “my item”)
edit: The same applies for properties or variables assigned the value of the item using its id
↧









