diff --git a/package/qt/qt5/Makefile b/package/qt/qt5/Makefile index a286a0882..0eb5bce99 100755 --- a/package/qt/qt5/Makefile +++ b/package/qt/qt5/Makefile @@ -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 diff --git a/package/qt/qt5/files/qt-env.sh b/package/qt/qt5/files/qt-env.sh index 8b405d2ae..1d196b974 100755 --- a/package/qt/qt5/files/qt-env.sh +++ b/package/qt/qt5/files/qt-env.sh @@ -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