Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Global Key Event QML



  • Hello
    There is many bug in QML key event in android

    I want to make global Key Event like BackButton
    I add key.press in mainwindow and not working
    How I can write back button code to navigate between view

       Keys.onReleased: {
            console.log("keyBack")
            if (event.key === Qt.Key_Back) {
                event.accepted = true;
                backPress()
            }
        }
    

    never rise :|
    How I could write global key event?


Log in to reply