Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to enable my platform input context on QT5 for QLineEdit

How to enable my platform input context on QT5 for QLineEdit

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 3.0k Views
  • 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.
  • N Offline
    N Offline
    ntquy99
    wrote on last edited by
    #1

    I implemented myplatforminputcontext inheriting from qplatforminputcontext and was trying to use this input context for my windows demo using a QLineEdit. But when I focus on the QLineEdit, the function filterEvent of myplatforminputcontext with event RequestSoftwareInputPanel is never called. Therefore I cannot receive this event to show up the soft keyboard. Do we need do something to enable this input context for my demo application like using QApplication::setInputContext(context) on QT4? On QT5, I don't find QApplication::setInputContext to set input context for application and I'm getting stuck in this task.
    Could you help me? It's pretty urgent to fix this problem for my project :(

    1 Reply Last reply
    0
    • N Offline
      N Offline
      ntquy99
      wrote on last edited by
      #2

      Anything we can do with QPlatformInputContext?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        ntquy99
        wrote on last edited by
        #3

        if I want to contact some guy in QT team to ask this question, who should I contact with?

        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