Fix virtual keyboard pinyin input problem by adding pinyin dictionary file and path.

This commit is contained in:
lijie02 2019-02-14 17:19:48 +08:00
parent d85c36712a
commit 2dba8ee53b
2 changed files with 5 additions and 0 deletions

View File

@ -876,12 +876,16 @@ endef
define Package/qt5-virtual-keyboard/install
$(INSTALL_DIR) $(1)/usr/lib/qt5/qml/QtQuick
$(INSTALL_DIR) $(1)/usr/lib/qt5/plugins/platforminputcontexts
$(INSTALL_DIR) $(1)/usr/share/qt5/qtvirtualkeyboard
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/qt5/qml/QtQuick/VirtualKeyboard \
$(1)/usr/lib/qt5/qml/QtQuick/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/qt5/plugins/platforminputcontexts \
$(1)/usr/lib/qt5/plugins/
$(CP) \
$(PKG_INSTALL_DIR)/usr/share/qt5/qtvirtualkeyboard \
$(1)/usr/share/qt5/
$(INSTALL_DIR) \
$(1)/usr/lib/qt5/qml/Qt/labs/folderlistmodel

View File

@ -10,3 +10,4 @@ export QT_QPA_GENERIC_PLUGINS=tslib
export QT_QPA_GENERIC_PLUGINS=evdevkeyboard:/dev/input/event0
export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event4:rotate=90
export QT_QPA_GENERIC_PLUGINS=evdevtouch:/dev/input/event4
export QT_VIRTUALKEYBOARD_PINYIN_DICTIONARY=/usr/share/qt5/qtvirtualkeyboard/pinyin/dict_pinyin.dat