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

Kazuki Ohta mover at hct.zaq.ne.jp
Sat Dec 25 15:41:39 EET 2004


Hi.

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. 

The code which causes this problem is in src/gui/kernel/qapplication_x11.cpp

   776 |    X11->default_im = settings.value("DefaultInputMethodSwitcher", 
QLatin1String("imsw-multi")).toString();
   777 |#ifndef QT_NO_IM
   778 |    if (!QInputContextFactory::keys().contains(X11->default_im))
   779 |        X11->default_im = QLatin1String("xim");
   780 |#endif // QT_NO_IM

line 776: default_im == "imsw-multi"
line 778: QInputContextFactory::keys() doesn't contain "imsw-multi"
line 779: so, default_im is always "xim"

Lars, why don't you include "imsw-multi"? any reason?

-- 
---------------------------------
Move the worl:D!
Kazuki Ohta : mover at hct.zaq.ne.jp



More information about the immodule-qt mailing list