PDA

View Full Version : QWebView component does not invoke on-screen-keyboard



patrasamiran
31st October 2014, 07:09
Hello,
I need help. I have read and searched about this problem and not founded a solution.

I'm developing a client app which contains a webView. Simply the QWebView component does not invoke on-screen-keyboard (windows soft key board) when clicked/touch any text input field. Same URL opens in IE or Chrome working fine.

I tried use QWebView->setAttribute(Qt::WA_AcceptTouchEvents, [true/false]); but none worked.

Environment: Qt 5.3.2 on Windows 7 32 and 64bits, Windows 8 64bits.

I hope anyone can help me. Here is the sample code.

int main(int argc, char **argv)
{
QApplication app(argc, argv);

QWebView w;
w.setUrl(QUrl("https://www.google.co.in/"));
//w.setAttribute(Qt::WA_AcceptTouchEvents, false);
//w.setAttribute(Qt::WA_InputMethodEnabled);
w.show();

return app.exec();
}

hao jay
30th June 2016, 08:16
Have you solved the problem?
I am facing the same problem
Could you give me some advise please . thanks