虚拟键盘未出现在诺基亚5230上基于QML的应用程序中 [英] virtual keyboard does not appear in QML-based application on Nokia 5230
问题描述
我有一个部署在我的诺基亚5230手机上的基于QML的应用程序,有几个TextInput组件,当该组件获得输入焦点时,输入法状态指示器已更改,但是虚拟键盘没有出现.
I have a QML-based application which is deployed on my Nokia 5230 phone, there are several TextInput components, when the component takes the input focus, input method status indicator changed, but virtual keyboard does not appear.
我的应用程序通过调用QDeclarativeView :: showFullScreen()全屏显示,我尝试了4种不同的输入法,包括官方的AknFEP,都具有相同的问题.
My application is full-screen displayed by calling QDeclarativeView::showFullScreen(), I have tried 4 different input methods including the official AknFEP, all have the same problem.
我错过了什么吗?
顺便说一句,它可以在台式机或Qt模拟器中正常工作.
BTW, it works fine on desktop or in Qt simulator.
推荐答案
您正在使用哪个版本的Qt?
Which version of Qt are you using?
您尝试手动打开VKB吗?
Did you try opening the VKB manually?
TextInput {
id: textInput
activeFocusOnPress: false
MouseArea {
anchors.fill: parent
onClicked: {
textInput.forceActiveFocus();
textInput.openSoftwareInputPanel();
}
}
}
这篇关于虚拟键盘未出现在诺基亚5230上基于QML的应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!