0

I'm working on an UI in QML for an embedded linux (for now raspberry pi/raspbian, but the HW will change pretty soon). I'm using Qt 5.0.2

I integrated a QWebKit browser using the QML WebView.

I want to be able to know when an input field is focused, I found some solutions using JS (using addJavaScriptObject or evaluateJavaScript) but all of them are working for Qt4.7/4.8 and Qt5 seems to have drastically cut the number of usable methods for the QML WebView.

Do you know a way to get this information? can we do it directly in the QML files?

Thx, Arthur

Arthur Saint-Genis
  • 167
  • 1
  • 2
  • 12

0 Answers0