I've upgraded code to:
TextField
{
width: 384
height: 128
placeholderText: qsTr("Android keyboard test")
focus: true
onTextChanged:
{
print("Text changed");
} // onTextChanged
MouseArea
{
anchors.fill: parent
onClicked:
{
print("clicked");
forceActiveFocus(Qt.MouseFocusReason);
Qt.inputMethod.show();
} // onClicked
} // MouseArea
} // TextField
TextField
{
width: 384
height: 128
placeholderText: qsTr("Android keyboard test")
focus: true
onTextChanged:
{
print("Text changed");
} // onTextChanged
MouseArea
{
anchors.fill: parent
onClicked:
{
print("clicked");
forceActiveFocus(Qt.MouseFocusReason);
Qt.inputMethod.show();
} // onClicked
} // MouseArea
} // TextField
To copy to clipboard, switch view to plain text mode
Debug message "clicked" gets printed out once I touch onto TextField's area, but keyboard is not visible!
Sincerely,
Marko
Bookmarks