import QtQuick 1.0 QtObject { onDestroyed: print("Hello World!") }