Important: Please read the Qt Code of Conduct -

Adding States

  • Sorry if this is a basic question, but how do I add a state to my main.qml file? I've looked and there isn't an option to add one, it only works if I add a new qml file and try. Thanks!

  • I actually just realized that for some reason, ApplicationWindow does not have a Add State button. I can easily just create a new qml file with a rectangle and add states... but what if I want to have that same qml file be the file that is shown when the application starts up?

Log in to reply