Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Load a new QML file from other
Forum Updated to NodeBB v4.3 + New Features

Load a new QML file from other

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 910 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • freddy311082F Offline
    freddy311082F Offline
    freddy311082
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

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

      (Z(:^

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved