[immodule-qt] How to try bc patch via Uim.

Dennis Yao syisea at hotmail.com
Fri Jun 25 13:00:41 EEST 2004


sorry , I pasted another error message in previous email, the error message 
I mentioned should be:

g++ -c -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA 
-DQT_NO_XRANDR -DQT_NO_XKB -DQT_DLOPEN_OPENGL -DQT_NO_IMAGEIO_MNG 
-DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC 
-DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP 
-DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC 
-I/tmp/syao/qt-x11-free-3.3.2/mkspecs/solaris-g++ -I. 
-I/usr/include/freetype2 -I3rdparty/libpng -I3rdparty/zlib 
-I3rdparty/opentype -I../include -I/usr/openwin/share/include 
-I.moc/release-shared-mt/ -o .obj/release-shared-mt/qtaddons_x11.o 
kernel/qtaddons_x11.cpp
/tmp/syao/qt-x11-free-3.3.2/bin/moc kernel/qapplication_x11.cpp -o 
.moc/release-shared-mt/qapplication_x11.moc
g++ -c -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA 
-DQT_NO_XRANDR -DQT_NO_XKB -DQT_DLOPEN_OPENGL -DQT_NO_IMAGEIO_MNG 
-DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC 
-DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP 
-DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC 
-I/tmp/syao/qt-x11-free-3.3.2/mkspecs/solaris-g++ -I. 
-I/usr/include/freetype2 -I3rdparty/libpng -I3rdparty/zlib 
-I3rdparty/opentype -I../include -I/usr/openwin/share/include 
-I.moc/release-shared-mt/ -o .obj/release-shared-mt/qapplication_x11.o 
kernel/qapplication_x11.cpp
kernel/qapplication_x11.cpp: In function `void qt_init_internal(int*, 
char**,
   Display*, long unsigned int, long unsigned int)':
kernel/qapplication_x11.cpp:2007: warning: `XEventClass*ev_class' might be 
used
   uninitialized in this function
kernel/qapplication_x11.cpp: At global scope:
kernel/qapplication_x11.cpp:4579: error: `XK_Codeinput' was not declared in
   this scope
kernel/qapplication_x11.cpp:4580: error: `XK_SingleCandidate' was not 
declared
   in this scope
kernel/qapplication_x11.cpp:4581: error: `XK_MultipleCandidate' was not
   declared in this scope
kernel/qapplication_x11.cpp:4582: 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:4892: 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

Regards,
Dennis


>From: "Dennis Yao" <syisea at hotmail.com>
>To: yamaken at bp.iij4u.or.jp
>CC: immodule-qt at freedesktop.org
>Subject: Re: [immodule-qt] How to try bc patch via Uim.
>Date: Fri, 25 Jun 2004 04:12:23 -0500
>
>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/
>
>
>_______________________________________________
>Immodule-qt mailing list
>Immodule-qt at freedesktop.org
>http://freedesktop.org/mailman/listinfo/immodule-qt

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





More information about the immodule-qt mailing list