I can not connect to destroyed() signal emitted by QObject-derived class. Is it a bug or has to be this way?
Connections {
target: myobj
onDestroyed: {
console.log("Deleting object " + myobj)
}
}
Main.qml:31:3: QML Connections: Cannot assign to non-existent property "onDestroyed"