Hi,
I'm totally new in QT. I created a QT quick component for Symbian, I have 3 QML file: main.qml, MainPage.qml and HelpPage.qml. I want the app will show my HelpPage.qml when I press "next" button but it's not work and I don't know why. This is my main.qml:
PageStackWindow {
id: window
initialPage: MainPage {tools: toolBarLayout}
showStatusBar: true
showToolBar: true
ToolBarLayout {
id: toolBarLayout
ToolButton {
flat: true
iconSource: "toolbar-back"
onClicked: window.pageStack.depth <= 1 ? Qt.quit() : window.pageStack.pop();
}
ToolButton {
flat: true
iconSource: "toolbar-next"
onClicked: pageStack.push(Qt.resolvedUrl("HelpPage.qml"));
}
}
}
and this is my HelpPage.qml:
Page {
id: helpPage
Image {
id: background
source: "background2.jpg"
width: parent.width
height: parent.height
fillMode: Image.PreserveAspectCrop
clip: true
}
}
Thanks!




