Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to connect to Qt.inputMethod.visibleChanged in qml
Forum Updated to NodeBB v4.3 + New Features

How to connect to Qt.inputMethod.visibleChanged in qml

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 963 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mira
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved