trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

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

From: Baho Utot <baho-utot@...>
Date: Mon, 13 Feb 2012 12:17:23 -0500

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?

This is what I get ( i have qt3 and qt4 installed )

sudo find / -name qglobal.h

/usr/local/include/qglobal.h
/usr/include/tqt/Qt/qglobal.h
/usr/include/Qt/qglobal.h
/usr/include/QtCore/qglobal.h

This is where qglobal.h is on my system and the package that installed it
I am using pacman package manager and querying the package manager database as 
to which package "owns" the file.

pacman -Qo /usr/local/include/qglobal.h
/usr/local/include/qglobal.h is owned by qt3 3.3.8.d-00

pacman -Qo /usr/include/tqt/Qt/qglobal.h
/usr/include/tqt/Qt/qglobal.h is owned by tqtinterface 3.5.13-00

pacman -Qo /usr/include/Qt/qglobal.h
/usr/include/Qt/qglobal.h is owned by qt 4.8.0-2

pacman -Qo /usr/include/QtCore/qglobal.h
/usr/include/QtCore/qglobal.h is owned by qt 4.8.0-2

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

Going to the source directory and doing a find . -name qglobal.h
should find it