Qt input method demo using qt virtualkeyboard
从Qt源码中拷贝qtvirtualkeyboard文件
$ cd qtvirtualkeyboard
$ mkdir build
$ cd build
$ ${QTBINPATH}/qmake
$ make
$ make install
编辑src/config.pri
, 确保CONFIG += lang-all
有效
重新编译安装
编辑src/virtualkeyboard/shifthandler.cpp
文件,
修改为toggleShiftEnabled(true)
$ cd qtinputmethod-demo
$ mkdir build
$ cd build
$ {QTBINPATH}/qmake ../src
$ make
$ ./demo