On Thursday 02 September 2010 22:58:47 Serghei Amelian wrote:
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 compiled Qt3 with immqt support and now I have qinputcontext.h and
qinputcontextfactory.h. However, I will check for presence of these files and
I will exclude tqinputcontext.{h,cpp} and tqinputcontextfactory.{h,cpp} from
compiling/installing, if necessary.
Maybe (sometime) we will insert something like this in these files:
#ifndef HAVE_QINPUTCONTEXT_H
#error Your TQt have no qinputcontext support!
#endif
--
Serghei