i found the code below:
focus: true // important - otherwise we'll get no key events Keys.onReleased: { if (event.key === Qt.Key_Back) { event.accepted = true //do some action here like close or pop the stack view } }
<STRONG>Where should i put this to make it work???</STRONG>