QML : Exploit an event in another .qml file
Unsolved
QML and Qt Quick
-
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.
-
Please look how to define the signals in qml & methods in QML. You can refer to GIT Examples