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. QML : Exploit an event in another .qml file
Forum Update on Monday, May 27th 2025

QML : Exploit an event in another .qml file

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 301 Views
  • 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.
  • D Offline
    D Offline
    DropNod
    wrote on 18 Feb 2019, 17:44 last edited by
    #1

    Hello, I am new to Qt and I try to develop an application. My problem is simple: how does it take to support an event in a .qml in another .qml file.

    In my case, I would like that when the button in file1.qml is clicked, the loader in the file2.qml changes source.

    Thanking you in advance for your answers.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dheerendra
      Qt Champions 2022
      wrote on 19 Feb 2019, 03:59 last edited by
      #2

      Please look how to define the signals in qml & methods in QML. You can refer to GIT Examples

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0

      1/2

      18 Feb 2019, 17:44

      • Login

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