[Qt-qml] Help with qwsserver::sendkeyevent & qml
Thanh NGUYEN
u.nguyenthanh at gmail.com
Mon Feb 28 22:54:16 CET 2011
Hi all,
I am trying to develop a virtual keyboard in my application QML with
DirectFB. To do it, I did a qwsserver::sendkeyevent from my application
(type: qwsserver::guiserver). In the qml side, I tried to catch the
keypressed with the following code :
Keys.onPressed: {
console.key("Key pressed " + event.key);
}
It seems that the key event has been sent but I still have not recevied on
qml side until I pressed physically on a button on my keyboard. I tried to
add qApp->processEvents() after qwsserver::sendkeyevent() but nothing
happened. Anyone can tell me how to tell qwsserver to process immediately
key event sent please ?
Thanks in advance for your help.
Best regards,
--
Thanh NGUYEN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110228/5c56e8f1/attachment.html
More information about the Qt-qml
mailing list