1 2 3 4 5 6
import QtQuick 2.0 QtObject { id: root onDestroyed: {} //this should cause an error (destroyed should be hidden) }