Hi everybody ,
I'm using QML to design a GUI for my application.
My mainwindow link to mainwindow.qml file. On this mainwindow, i've design button but i don't know how to pass clicked event from this button to main source code cpp to pop up another windows ( I intend to swtich the link of mainwindow.qml to another .qml file )

Can somebody help me ?