标签: qt signals qml qtquick2 qobject
我无法连接到destroyed() - 派生类发出的QObject信号。这是一个错误还是必须这样?
destroyed()
QObject
Connections { target: myobj onDestroyed: { console.log("Deleting object " + myobj) } }
Main.qml:31:3:QML连接:无法分配给不存在的属性" onDestroyed"