1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
import QtQuick Rectangle { id: root visible: false width: 320 height: 240 Flickable { id: flickable anchors { fill: root margins: 10 } contentHeight: loader.height Loader { id: loader width: flickable.width active: root.visible source: "long.qml" } } Component.onCompleted: visible = true }