Fix virtual keyboard pinyin input problem by adding pinyin dictionary file and path.
This commit is contained in:
parent
d85c36712a
commit
2dba8ee53b
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue