Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved QML : Exploit an event in another .qml file

    QML and Qt Quick
    2
    2
    164
    Loading More Posts
    • 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.
    • DropNod
      DropNod last edited by

      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 Reply Quote 0
      • dheerendra
        dheerendra Qt Champions 2022 last edited by

        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 Reply Quote 0
        • First post
          Last post