trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] tqtinterface compilation error qglobal.h not found

From: Aleksey Midenkov <midenok@...>
Date: Tue, 14 Feb 2012 08:09:09 +0400
On Mon, Feb 13, 2012 at 9:17 PM, Baho Utot <baho-utot@...> wrote:
>
>
> On Monday 13 February 2012 11:30:56 am Aleksey Midenkov wrote:
>> On Mon, Feb 13, 2012 at 4:28 PM, Baho Utot <baho-utot@...>
> wrote:
>> > On 02/13/2012 07:16 AM, Aleksey Midenkov wrote:
>> > Try this if you qt3
>> >
>> >    -DQT_INCLUDE_DIR=${opt_dir}/include/qt
>> >  or this if you have Tqt
>> >
>> >
>> > -DQT_INCLUDE_DIR=${opt_dir}/include/tqt
>>
>> There is no '${opt_dir}/include/qt'. '${opt_dir}/include/tqt' neither.
>> Only '${opt_dir}/include/private'. I already checked, there is no
>> qglobal.h anywhere in ${opt_dir}. I installed latest tqt3.
>>
>
> I assume you have Tqt/Qt installed?
>

I have tqt3 from git http://scm.trinitydesktop.org/scm/git/tqt3
installed. Do I need other qt3 versions installed alongside? tqt3
looks like full qt3.

I found qglobal-h.html and then ntqglobal.h in tqt3. It was installed
in ${opt_dir}/include. Symlinking ntqglobal.h to qglobal.h triggered
next error:

fatal error: qassistantclient.h: No such file or directory

By analogy there is ntqassistantclient.h in ${opt_dir}/include. Do I
need to symlink all nt*.h to *.h? Why this was not done by installer?
Why someone has renamed these files anyway?

>
> Try to change the -DQT_INCLUDE_DIR= to point to the place in the tqtinterface
> source is installed to.
>
> Should be something like this
> -DQT_INCLUDE_DIR=<Source code directory>/tqtinterface/qtinterface/qt4/Qt
>

I don't think this is right way to do.