[immodule-qt] How to try bc patch via Uim.
Dennis Yao
syisea at hotmail.com
Fri Jun 25 12:12:23 EEST 2004
My environment:
Sparc Solaris 2.6
GCC 3.3.1
QD-3.3.2 patched qt-x11-immodule-bc-qt3.3.2-20040623.diff
KDE-3.2.2
uim-0.3.9
compile and installed the latest quiminputcontextplugin
However, I could not activate the input engine in kedit or any other KDE
application.
press ctrl+space ? or other keystroke ?
Is there any system tray panel in the KDE?
I have select uim-anthy as the default input method via qtconfig,
but when I start kedit, just everything as normal. no input method is
available ( er, maybe I don't know how to activate it ).
If I start kedit in konsole, here is the output:
.......
kdeinit: Got EXEC_NEW 'kconf_update' from launcher.
kio (KLauncher): kconf_update (pid 6157) up and running.
kdeinit: PID 6157 terminated.
DCOP: new daemon kded
kded: KMilo loaded module ??????
kded: Successfully loaded module 'kmilod'
DCOP: unregister 'anonymous-6154'
kdeinit: PID 6154 terminated.
kdeinit: opened connection to 135.252.33.108:0.0
DCOP: register 'kedit-6144' -> number of clients is now 1
kdecore (KConfigSkeleton): Creating KConfigSkeleton (19a438)
kdecore (KConfigSkeleton): KConfigSkeleton::readConfig()
name = default
name = tcode
name = anthy
name = prime
name = tutcode
name = skk
name = viqr
name = hangul2
name = hangul3
name = romaja
name = ipa
name = py
name = pyunihan
name = pinyin-big5
QUimInputContext()
QUimInputContext: 275ca0->setFocus(), focusWidget()=167c68
QUimInputContext: 275ca0->unsetFocus(), focusWidget()=167c68
QUimInputContext: 275ca0->setFocus(), focusWidget()=167c68
QUimInputContext::reset()
QUimInputContext: 275ca0->unsetFocus(), focusWidget()=167c68
QUimInputContext: 275ca0->setFocus(), focusWidget()=167c68
QUimInputContext: 275ca0->unsetFocus(), focusWidget()=167c68
seems the QUIM plugin has been loaded.
would you help to look at this issue ? Thanks.
By the way, If I patched QT-3.3.2 with
qt-x11-immodule-bc-qt3.3.2-20040623.diff, then I need to manually modify
src/kernel/qapplication_x11.cpp to add following section:
/* International & multi-key character composition */
#ifndef XK_Multi_key
#define XK_Multi_key 0xFF20 /* Multi-key character compose */
#endif
#ifndef XK_Codeinput
#define XK_Codeinput 0xFF37
#endif
#ifndef XK_SingleCandidate
#define XK_SingleCandidate 0xFF3C
#endif
#ifndef XK_MultipleCandidate
#define XK_MultipleCandidate 0xFF3D
#endif
#ifndef XK_PreviousCandidate
#define XK_PreviousCandidate 0xFF3E
#endif
or else the make will failed with error message:
g++ -c -Wall -W -g -D_REENTRANT -fPIC -DQT_THREAD_SUPPORT -DQT_PLUGIN
-DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO
_DEBUG -I/home/syao/public/qt-3.3.2/mkspecs/default -I. -I.
-I/usr/local/include/uim -I/home/syao/public/qt-3.
3.2/include -o plugin.o plugin.cpp
g++ -c -Wall -W -g -D_REENTRANT -fPIC -DQT_THREAD_SUPPORT -DQT_PLUGIN
-DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO
declared in this scope
kernel/qapplication_x11.cpp:4571: error: `XK_PreviousCandidate' was not
declared in this scope
kernel/qapplication_x11.cpp: In member function `bool
QETWidget::translateKeyEventInternal(const XEvent*, int&, QString&, int&,
char&, int&, QEvent::Type&, bool, bool)':
kernel/qapplication_x11.cpp:4881: warning: unused variable `int status'
make[2]: *** [.obj/release-shared-mt/qapplication_x11.o] Error 1
make[2]: Leaving directory `/tmp/syao/qt-x11-free-3.3.2/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/tmp/syao/qt-x11-free-3.3.2'
make: *** [init] Error 2
Thanks for ship us the wonderful software,
Sincerely,
Dennis
>From: YamaKen <yamaken at bp.iij4u.or.jp>
>To: "Dennis Yao" <syisea at hotmail.com>
>CC: mover at hct.zaq.ne.jp, immodule-qt at freedesktop.org
>Subject: Re: [immodule-qt] How to try bc patch via Uim.
>Date: Fri, 25 Jun 2004 16:03:56 +0900
>
>At Thu, 24 Jun 2004 07:18:32 -0500,
>syisea at hotmail.com wrote:
> >
> > I have a question, if uim-qt-immodule can be activated in en_US.UTF-8
> > locale?
> > I am sorry I didn't have other locale except C.
>
>QUimInputContextPlugin (oh, magical mystic long name) is locale
>independent. You can run it on any locale and input text as IM's
>own language.
>
> $ LC_ALL=C kedit
>
>
>Off topic:
>I would like to call QUimInputContextPlugin as short nickname,
>such as 'QtUim'. Kazuki, how do you think about it?
>
>-------------------------------
>YamaKen yamaken at bp.iij4u.or.jp
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
More information about the immodule-qt
mailing list