import QtQuick 2.1 Rectangle { Text { text: obj.foo font.pointSize: 32 } Object { id: obj Item {} } }