Important: Please read the Qt Code of Conduct -

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?



Log in to reply