Touch screen can not trigger qtvirtualkeyboard
-
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.