When I click the QLineEdit,It pop up a virtual keyboard for input.
but it can not close even if I click the entry key
on N8,if I click the tick key,the keyboard will close.
how to close it on N9?
When I click the QLineEdit,It pop up a virtual keyboard for input.
but it can not close even if I click the entry key
on N8,if I click the tick key,the keyboard will close.
how to close it on N9?
Check this article about keyboard focus in QML
regards,
Hi wangruiwz,
Here is a wiki article which explains how to workaround this problem:
http://www.developer.nokia.com/Commu...KB_in_QML_Apps
I know I'm boring with repeating this through all the threads but - QWidgets based interfaces are not supported on the N9. If they work - that's the exception, not the rule.
@wangruiwz: I updated the previous wiki page with a C++ solution which works for pure C++ apps too.
The same workaround is also described in the QtSDK Harmattan target release notes:
http://www.developer.nokia.com/info/...ase_Notes.html
But as already commented you should not use QLineEdit or other QWidget based UI elements, they are not really supported. Use Qt Quick (Components) or MeeGo Touch if you need to stick to C++. Neither of the official UI frameworks require any workarounds for the virtual keyboard.