开发者

virtual keyboard does not appear in QML-based application on Nokia 5230

开发者 https://www.devze.com 2023-02-14 21:32 出处:网络
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 vi

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.

My application is full-screen displayed by calling QDeclarativeView::showFullScreen开发者_StackOverflow中文版(), I have tried 4 different input methods including the official AknFEP, all have the same problem.

Did I miss something?

BTW, it works fine on desktop or in Qt simulator.


Which version of Qt are you using?

Did you try opening the VKB manually?

TextInput {
    id: textInput

    activeFocusOnPress: false

    MouseArea {
        anchors.fill: parent
        onClicked: {
            textInput.forceActiveFocus();
            textInput.openSoftwareInputPanel();
        }
    }
}
0

精彩评论

暂无评论...
验证码 换一张
取 消