Load a new QML file from other



  • Hi.

    I'm new with QtQuick and Qml... I'm try to make an app which the first screen is for loggin and after that I can enter to the system.

    I had created a QtQuick application in QtCreator, and I have the main file, where I have defined my window to check the user and password and it's work... I have a 2nd qml file named workspace.qml which has the interface of my system but I don't what I have to do to close the main.qml file and load the workspace.qml, and I don't if that is the best way to do that.

    someone now about it and can help me ???

    best regards


  • Moderators

    Check out QtQuick examples. This is usually done by defining States and using a Loader.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.