Message: previous - next
Month: September 2010

Re: [trinity-devel] tqt.h confusion

From: "Timothy Pearson" <kb9vqf@...>
Date: Thu, 2 Sep 2010 15:39:53 -0500
> On Thursday 02 September 2010 22:42:54 Serghei Amelian wrote:
> [...]
>> > I am not sure why it does not exist on your system.  If it is not a
>> > generic file present on all Qt installations then you may have to let
>> > CMake search for it and conditionally remove the reference to it based
>> on
>> > the CMake search results.
>> You right, this file is present in official Qt3 package. I guess that is
>> missing on mine system because gentoo permit few flags which can omit
>> some
>> Qt modules. I will make checks, as you suggest.
> I dig a little deeper and I found that actually QInputContext class is
> located
> in qinputcontext_p.h and QInputContext is used only in Q_WS_WIN context or
> when QT_NO_XIM is not defined.
> What you suggest to do in this case?

I will put a conditional around the include statement in tqinputcontext.h
like this

#ifndef QT_NO_XIM
#include <qinputcontext.h>

If you want you can try this out for me before I commit it to SVN...just
modify the tqinputcontext.h file as shown and try a rebuild.