I have the following code snippet in QML, but I doubt statements inside Repeater element is not executed.
Is there any way through which I can debug these, I know that there is a log property present for the Repeater element but I am not sure how to use it.
import QtQuick 1.1
Item {
id: screen
width: 1024
height: 600
/*Loading Screen*/
Interactive {id: interactive}
Loading {id: loading;}
/*Application Components*/
Pif {id: pif}
Config {id: config}
Media {id: media}
Repeater {
model: config.launchers
delegate: Loader {
id:loader
anchors.fill: parent
source: file
onStatusChanged: {
if (loader.status == Loader.ready)
{
loading.opacity = 0
loading.visible = false
}
}
}
}
Fullscreen {id: fullscreen}
}
Try
Component.onCompleted