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. [SOLVED][Qt][Android][Phone]How can i make keyboard disappear when i kill the focus of a textedit?
Qt 6.11 is out! See what's new in the release blog

[SOLVED][Qt][Android][Phone]How can i make keyboard disappear when i kill the focus of a textedit?

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 3.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.
  • E Offline
    E Offline
    erikalxq
    wrote on last edited by
    #1

    hi guys,
    I run an app writen by Qt for Android on a phone device. When i set focus on the TextEdit, the keyboard will appear, but when i kill the focus, the keyboard still there. What can i do with this problem?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mbnoimi
      wrote on last edited by
      #2

      [quote]but when i kill the focus, the keyboard still there. What can i do with this problem?[/quote]
      I far as I know this issue not related to focus event; it related to select event so I don’t' think it's a problem at all.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        erikalxq
        wrote on last edited by
        #3

        If this issue related to select event, how can i control this event to make keyboard disappear?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AcerExtensa
          wrote on last edited by
          #4

          I don't know if it is a Qt BUG or QML problem, but you can hide it manually... take a look here: http://qt-project.org/forums/viewthread/32152/

          God is Real unless explicitly declared as Integer.

          1 Reply Last reply
          0
          • E Offline
            E Offline
            erikalxq
            wrote on last edited by
            #5

            Thanks a lot , AcerExtensa, It works~

            1 Reply Last reply
            0

            • Login

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