kde input module for uim, the universal input method. In order to use it, you have to put something like export XMODIFIERS=@im=uim export QT_IM_MODULE=uim in your .xinitrc. start uim-toolbar-qt, then you can select any input method from your application.