[immodule-qt] New patch has been released for testing

YamaKen yamaken at bp.iij4u.or.jp
Wed Aug 18 17:33:33 EEST 2004


At Tue, 17 Aug 2004 19:15:03 +0900,
takumi at asaki.jp wrote:
> 
> On Thursday 12 August 2004 17:25, YamaKen wrote:
> 
> > Hi all, I've released an updated patch for testing. Please test
> > and report.
> > 
> > http://immodule-qt.freedesktop.org/Software/ImmoduleQtDownload
> > 
> > Some compilation time and runtime problems for Binary Compatible
> > mode have been fixed.
> 
> I check qt-x11-immodule-unified-qt3.3.2-20040814.diff.gz
> 
> It seems inputmethods plugins require threads support.
> Is it need?
> I can't compile plugins with configure -no-thread(default).

Fixed. We must not add 'thread' to CONFIG in any project files
in plugins/src/inputmethods.

When I had changed builtin IMs into plugin, I had doubt whether
the configuration is really needed. So I had read 'Plugins and
Threaded Applications' section of the 'Qt Plugins HOWTO' and add
'thread' to CONFIG as described in the section.

http://doc.trolltech.com/3.3/plugins-howto.html

But hardcoded 'thread' causes the library mixin problem as you
said (I've also checked qmake implementation).

Although 'thread' is required for threaded version of Qt,
configure script generates .qmake.cache that contains 'thread'
CONFIG. So we can safely remove the 'thread' from each project
files for IM plugins.

You can see whether 'thread' is defined or not by adding
following line into arbitrary project file such as xim.pro.

thread:error('thread' is defined in this configuration)

I've also investigated my installed qmake.conf and found the
following line.

CONFIG                  += qt warn_on release thread link_prl

The line says that 'thread' can also be removed from project
file of external IM plugin such as uim, at least for FreeBSD
ports environment. But I'm not sure about the config in other
platforms. Anyone, please report the config in qmake.conf in
your platform.

> qtconfig chage DefaultInputMethodSwitcher to imsw-multi always.
> Please don't chage DefaultInputMethodSwitcher.

I had fixed so. I had forgotten it when I introduce imsw-none.

-------------------------------
YamaKen  yamaken at bp.iij4u.or.jp



More information about the immodule-qt mailing list