Hi,
I have a Rectangle object defined in the default qml file that we get when we create a new project.
I wanted another screen to open up on click of mouse. For this I tried to create another Rectangle object
in the same qml file but I got a syntax error.
Is it not possible to create two Rectangle objects in a single .qml file or what?
Basically if I have to have multiple screens in my application switching them back and forth, how should I go about it in terms
of qml files? Shall I have one qml file for one screen or how?
Please let me know.
Thanks
↧