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. Problems using QML Virtual Keyboard with QtWidgets
Forum Updated to NodeBB v4.3 + New Features

Problems using QML Virtual Keyboard with QtWidgets

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 211 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
    Nic Greenway
    wrote on last edited by
    #1

    Hi All

    I have a QtWidgets/C++ app, and need to use the application-integrated version of the Qt virtual keyboard, i.e. the one which requires a QML-defined InputPane item.

    I have a QtWidget in my main .ui file, loading QML which contains an InputPane

    When I click a QLineEdit box, the virtual keyboard appears in the widget, but if I try to click a key on the keyboard, the focus moves from the input box and the keyboard disappears.

    Is there an example available of a virtual keyboard implemented into a C++/QtWidgets project?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Guninia
      wrote on last edited by
      #2

      Hi Nic,
      Have you find any solution?
      I'm facing similar situation as yours.
      After keyboard popping up and taking the focus, the QLineEdit box loses focus and dismisses the keyboard immediately.
      Really weired.

      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