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
Forum Update on Monday, May 27th 2025

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 5 Dec 2012, 17:48 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 6 Dec 2012, 03:58 last edited by
      #2

      Anything we can do with QPlatformInputContext?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        ntquy99
        wrote on 7 Dec 2012, 02:49 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

        1/3

        5 Dec 2012, 17:48

        • Login

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