MouseArea {
anchors.fill: parent
hoverEnabled: true
acceptedButtons: Qt.LeftButton | Qt.RightButton
onEntered: Function.call(somefunc())
onExited: console.log("Mouse Exited");
onClicked: {
Qt.quit();
}
}
How to create a new window using the function somefunc() when my mouse enters the Mouse Area. Is it possible?
I cannot find any way to integrate a C++ file into Qt so that I can use the function to create a new window.