Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    How to enable my platform input context on QT5 for QLineEdit

    General and Desktop
    1
    3
    2749
    Loading More Posts
    • 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
      ntquy99 last edited by

      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 Reply Quote 0
      • N
        ntquy99 last edited by

        Anything we can do with QPlatformInputContext?

        1 Reply Last reply Reply Quote 0
        • N
          ntquy99 last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post