import QtQuick 2.0 QtObject { Component.onCompleted: { var a = getObject(); a = null; } }