Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

How to get the virtual keyboard to appear when a text field is tapped

$
0
0
Hello I am very new to Qt WebKit. Sorry if this is a very obvious question, but I’ve been trying to figure it out for a few hours and have made no progress. I have an embedded linux c++ application that uses a QWebView object. We have a touch screen, but no mouse or keyboard on our product. I would like to have the virtual keyboard show up when a I tap on a text field. Instead, what I see is that the cursor is placed where I’ve tapped, and the text field is awaiting input. For debug purposes, I tried hooking up a USB keyboard, and sure enough when I type the text shows up in the text field. Do I need to tell the webkit object that there is no physical keyboard in our system, and to always show the virtual keyboard? Or is there some simple javascript I can run to show the virtual keyboard when the user taps the field?

Viewing all articles
Browse latest Browse all 18427

Trending Articles