How to connect to Qt.inputMethod.visibleChanged in qml



  • Hi,
    I am trying to perfrom some action when the virtual keyboard appears or hides on android. For this I am trying to connect to the visibleChanged signal like this:

    Qt.inputMethod.onVisibleChanged: {
           ...
        }
    

    but i'm getting an error:

    Non-existent attached object
    

    How do I do this properly?

    Thanks!

    Mira


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.