1 2 3 4 5 6 7 8 9 10 11 12 13 14
import QtQuick 2.0 QtObject { id: root property variant a: 10 property int x: 10 property int test: a.x Component.onCompleted: { a = 11; a = root; } }