1 2 3 4 5 6 7
import QtQuick 2.0 Rectangle { width: 100; height: 100 color: "green" Component.onCompleted: myLoader.source = "BlueRect.qml" }