[Qt-interest] pure-54bit linux and qmake

sibu sibxol at btconnect.com
Sat Jun 26 16:58:18 CEST 2010


On Saturday 26 June 2010 13:36:45 Thiago Macieira wrote:
> Em Sábado 26. Junho 2010, às 13.26.39, sibu escreveu:
> > Greetings,
> >
> > I  use  a  computer with the following features:
> > cpu -amd64(2 cores)
> > os-prog: linux 64bit only GCC4.4.2 (kernel2.6.34), qt-X11opensource-4.6.2
> >
> > I am experiencing difficulty compiling qt-webkit. (it is having
> > difficulty locating the X11/Xlib.h  needed by TestNestcapePlugin.cpp)   I
> > had a look at the  directory containing the makespecs  and noticed  that
> > for 64 bit builds it is a multilib setup  (~/lib and l~/ib64).
> 
> It isn't.
> 
> > QUESTION:
> > A----  is there a makespec for pure 64-bit linux builds (I only have
> > /~/lib)
> 
> linux-g++ and linux-g++-64
> 
> > B------if A is  positive could   someone tell   how to fetch it
> > and use it please?
> 
> You already have it. You probably are already using it -- it's the default
> when building on a 64-bit Linux.
> 
> If you want to select a different one:
> 	qmake -mkspec linux-g++-64
> or when compiling Qt:
> 	configure -platform linux-g++-64
> 
> > C-----if A is negative is is  possible to merge
> > ~mkspecs/common/{linux.conf&g++.conf} into a ~/~/pure64-linux.conf and
> > would the same qplatformdefs.h be sufficient?
> >
> > D----if C is positive   how does one invoke qmake to use the new
> > ~/~/pure64- linux.conf   spec?
> 
> The last two questions cannot be answered (they depend on A being negative,
> which it isn't).
> 

you are absolutely correct,  I changed the  mkspec file   with another 
invocation of qmake and it made no difference.  The problem I am having is 
compiling webkit with qmake.    I do not have X11 in /usr.  When I compile 
webkit for gtk  (using configure, make make install I can set CPPFLAGS and  the 
X11 headers are located.  When I use the WebkitTools/Script/build-webkit --qt  
the compilation progresses to  ((~2k lines)  to compiling 
TestNetscapePlugin/TestNetscapePlugin.cpp  exiting with X11/Xlib.h  no such 
file or directory.  I even  tried setting   the envar QMAKE_INCDIR_XII  but it 
made no difference.


suggestions will be welcomed




More information about the Qt-interest-old mailing list