Solved New window
-
Hello,
This is the first time I use QML, how i can open a new window (activity for android ) ?
Thank's
-
Hi,
Can you give more details about what you are trying to do ?
-
When I click on a button , i would like that a new window opens
onClicked:{ var component = Qt.createComponent("Register.qml") ; var window = component.createObject(root); window.show() }
On desktop, it works, but in mobile the smartphone freeze, and no new window opens
-
Check that the file can be found. I suspect that they are not in the place you think they should go.
-
The new window is active, but it is not shown. When I leave the application and when I the opens, the new window appears
Register.qml
ApplicationWindow { id: root visible: true width: 640 height: 480 /* code */ }
-
How do you know it's active and not shown ?
-