Unsolved How to disable others languages while building qtvirtualkeyboard
-
Dev environment
Windows 10 64bit 19042.870
Qt 5.12.8(10) and Qt5.15.2I'm trying to build qtvirtualkeyboard, and I just need English and Simple Chinese, I configurate it as
CONFIG+="lang-en_US lang-zh_CN"
, it works well on Qt5.10.1. But since I use Qt5.12.8(orQt5.12.10),even Qt5.15.2, it can not work well, it always shows others languages such as:Japanese,Korean, Thai language, Chinese Traditional, like this:
I'm wondering how to disable the 4 languages. I've tried bothCONFIG-="lang-ja_JP lang-ko_KR lang-zh_TW lang-th_TH"
andCONFIG-="openwnn hangul tcime zhuyin cangjie thai"
,but it is till not work.
Do you guys have any idea? -
@Vevinlong I also encountered the same situation as you, so I had to use the old version back
-
@Vevinlong In qml I can customize the list of languages, and I'm not sure if I can do something similar with qweight。
The effect is as follows:
-
Simply set the active locales of the keyboard:
InputPanel { id: keyboard Component.onCompleted: { VirtualKeyboardSettings.activeLocales = ["en_US", "zh_CN"] } }