1 2 3 4 5 6
import QtQml QtObject { objectName: "foo" Component.onCompleted: objectName = objectName + "bar" }