How to enable my platform input context on QT5 for QLineEdit

  • 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 :(

  • Anything we can do with QPlatformInputContext?

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

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.