[Qt-interest] Qt Linux static compilation

qzvjtml02 at sneakemail.com qzvjtml02 at sneakemail.com
Sat Jul 4 21:08:09 CEST 2009


Does anyone else have any thoughts on this?

           Kyle Fazzari

On Jul 3, 2009, at 11:30 AM, qzvjtml02-at-sneakemail.com |Qt-interest|  
wrote:

> 	Ah, alright that DID move stuff to the right place. However... there
> is no Qmake. Once again following this page: http://doc.trolltech.com/4.5/deployment-x11.html
>  , I did the following:
>
> cd /opt/qtsdk-2009.03/qt
> ./configure -static -prefix /opt/qtsdk-2009.03/qt-static
> make sub-src
> cd /opt/qtsdk-2009.03/qt/src (I believe this is what you recommended)
> make install
>
> 	All of this succeeded with no errors. So I moved onto the next step
> on the web page: linking my application to the static version. So I
> did the following:
>
> make clean
> export PATH=/opt/qtsdk-2009.03/qt-static/bin
> qmake -config release
>
> 	And it died right there saying Qmake was not installed. It IS in / 
> opt/
> qtsdk-2009.03/qt/bin, so the regular version of Qt works, but this one
> doesn't. Am I doing something else wrong? Thank you for your help
> Thiago!
>
> 		Kyle Fazzari
>
> On Jul 3, 2009, at 1:39 AM, Thiago Macieira thiago.macieira-at-
> trolltech.com |Qt-interest| wrote:
>
>> Em Sexta-feira 03 Julho 2009, às 10:07:14, você escreveu:
>>>       Does it need the extra stuff it's trying to compile? I mean...
>>> what's   the point in running "make sub-src" if "make install" does
>>> everything else anyway? Running "make install" seems to compile
>>> basically
>>> the exact same stuff as simply running "make," and I've read not to
>>> do the
>>> latter for static compilations as all you need are the libraries.
>>
>> cd src; make install
>>
>> -- 
>> Thiago Macieira - thiago.macieira (AT) nokia.com
>> Senior Product Manager - Nokia, Qt Software
>>    Sandakerveien 116, NO-0402 Oslo, Norway
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list