在图中,您可以看到HWR按钮已启用(绿色(,但使用鼠标指针写入的输入面板不在。我正在尝试运行qt提供的手写识别示例(basic.pro(。该应用程序正在使用qt虚拟键盘启动,但我无法看到HWR图标。有人能帮我在这个例子中打开手写识别吗?我已经附上了应用程序的屏幕截图。
TEMPLATE = app
TARGET = basic
QT += qml quick quickcontrols2 xml
SOURCES += main.cpp
CONFIG += link_pkgconfig disable-desktop handwriting lipi-toolkit
static {
QT += svg
QTPLUGIN += qtvirtualkeyboardplugin
}
target.path = $$[QT_INSTALL_EXAMPLES]/virtualkeyboard/basic
INSTALLS += target
RESOURCES +=
demo.qrc
OTHER_FILES +=
Basic.qml
basic-b2qt.qml
content/AutoScroller.qml
content/HandwritingModeButton.qml
content/TextArea.qml
content/TextField.qml
disable-xcb {
message("The disable-xcb option has been deprecated. Please use disable-desktop instead.")
CONFIG += disable-desktop
}
disable-desktop|android-embedded|!isEmpty(CROSS_COMPILE)|qnx {
DEFINES += MAIN_QML=\"basic-b2qt.qml\"
} else {
DEFINES += MAIN_QML=\"Basic.qml\"
}
在图像中,您可以看到HWR按钮已启用(绿色(,但使用鼠标指针写入的输入面板未进入
手写按钮位于键盘的右侧。