Important: Please read the Qt Code of Conduct -

QML : Exploit an event in another .qml file

  • 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.

  • Qt Champions 2017

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

Log in to reply