Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Did anybody used virtual keyboard with TextInput ?
Qt 6.11 is out! See what's new in the release blog

Did anybody used virtual keyboard with TextInput ?

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 2.6k 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.
  • A Offline
    A Offline
    aabc
    wrote on last edited by
    #1

    Did anybody used virtual keyboard with TextInput ?

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Have a try with TextField. I also have worries with textinput : vkb appears but stays active when it shouldn't.
      i'm still investigating the cause...

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aabc
        wrote on last edited by
        #3

        Did you succeeded to use sendEvent with keyevent to the QML TextInput ?

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          No, i haven't used sendevent.

          QML TextField is an implementation of TextInput. You could have a look at the source to discover how they use it there.

          Btw your question is rather general. If you show what you tried already, it would be easier for others to help you.

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aabc
            wrote on last edited by
            #5

            I created a virtual keyboard (Qt C++) which use QCoreApplication::sendEvent().
            When i send QKeyEvent to some QML item the return value of QCoreApplication::sendEvent() is false and the QML item does not receive that event.

            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