[immodule-qt] Does QT 4 beta 1 support IM modules

Lars Knoll lars at trolltech.com
Tue Dec 28 11:30:20 EET 2004


On Monday 27 December 2004 15:36, Daisuke Kameda wrote:
> Kazuki Ohta <mover at hct.zaq.ne.jp> wrote:
> > I tried Qt4 beta 1 with following configure option
> > $./configure -debug -system-zlib -qt-gif -qt-libpng -qt-libjpeg -xrandr
> > -xft -inputmethod -inputmethod-ext
> >
> > Qt4 beta 1 includes immodule for Qt project's code, but it includes
> > partly. That doesn't seem to include "imsw-multi", which is the switcher
> > of immodule. Because of this, we cannot specify which immodule to use (we
> > cannot configure default im by qtconfig nor environment variable), So,
> > now we can only use XIM.
>
> Thank you for report. But, I was disappointed about its contents.

I have for the moment chosen not to add the switcher to the Qt distribution. 
We have thought about this and would like to integrate the switching 
framework into Qt.

The reason for this is that we need to find a general solution to the problem 
of switching input languages. This does also include simple X11 keyboard 
layouts and is not only limited to input methods. This is why a switcher 
plugin won't work.

Anyway, you can still use an im switcher for your testing purposes. You can 
specify the default IME to be used in a settings key (there is no interface 
for it in qtconfig, but you can just write an entry to the file):

In ~/.settings/trolltech.com.conf you need to add an entry in the [Qt] section 
(e.g.):
DefaultInputMethodSwitcher=imsw-multi

So you are not limited to XIM in any way (although it will fall back to XIM if 
the plugin you specified can not be found).

> If the reason a part of functions are not adopted, and other part are
> remaining exists, please let me know, Lars. Unless the present status and
> the future plan in Trolltech are known, we can't decide our future work.

My idea is to have the framework needed to load and work with the IME plugins 
inside Qt. Most plugins for the different input methods should probably 
continue to be developed by you (e.g. on freedesktop.org).

Best regards,
Lars



More information about the immodule-qt mailing list