Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to connect to Qt.inputMethod.visibleChanged in qml
Qt 6.12 LTS is out! See what's new in the release blog

How to connect to Qt.inputMethod.visibleChanged in qml

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.1k 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.
  • ? Offline
    ? Offline
    A Former User
    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
    • Unsolved