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. Touch screen can not trigger qtvirtualkeyboard
Forum Updated to NodeBB v4.3 + New Features

Touch screen can not trigger qtvirtualkeyboard

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 147 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.
  • MozzieM Offline
    MozzieM Offline
    Mozzie
    wrote on last edited by
    #1

    Hi,

    when I use the qtvirtualkeyboard, I found when I press my touch screen, I the mousePressEvent is triggered but not virtualkeyboard showed, and when I click the line edit by using mouse , the virtualkeyboard will came out, and it not only triggered mousePressEvent but also triggered inputMethodQuery method. what is the difference between mouse and touch screen? is there any way to show virtual keyboard manually? I tried ' qApp->inputMethod()->update(Qt::ImEnabled); ', but it did not work.

    by the way, my system is ubuntu 18.04 and Qt version is 5.12.10

    Thank you.

    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