Problem Loading QML on First Menu Button Click
-
wrote on 23 Jun 2012, 21:25 last edited by
Hi,
@
[Qt Message] file:///Z:/resource/qt/imports/com/nokia/symbian.1.1/ScrollBar.qml:81:5: QML Connections: Cannot assign to non-existent property "onCurrentOrientationChanged"
@Main.qml :
@
import QtQuick 1.1
Rectangle {
width: 640
height: 480property alias loader : mainLoader
Loader { id: mainLoader }
}
@Test.QML
@
import QtQuick 1.1
import com.nokia.symbian 1.1Rectangle {
width: 640
height: 480
Button {
id: buttonPlayGame
width: 320
text: "Play"
clip: false
smooth: false
disabled: falseonClicked: {
loader.source = "Test.qml"
}
}
}
@ -
wrote on 24 Jun 2012, 07:21 last edited by
Solved it. Initialised the loader on the menu screen and added another loader for the sub menu.
-
wrote on 22 Sept 2014, 13:05 last edited by
Hi,
can you post your code?
Thanks