[Qt-interest] Upgrading Linux = Recompile Qt ?

Konrad Rosenbaum konrad at silmor.de
Fri Oct 2 09:52:54 CEST 2009


On Friday 02 October 2009, Miguel Cardenas wrote:
> Am upgrading from Slackware 12.1 to 13.0... I already have prebuilt Qt
> installable packages that I compiled in 12.1
>
> Do I have to recompile Qt? I have version 4.5 ... it takes hours and
> hours to compile, perhaps it may work with Slack 13 but is it
> recommendable to recompile? If not I will keep my already working Qt,
> otherwise would download latest version better and compile it...

You have to recompile if your g++ version changes significantly (3.2 -> 
3.3 -> 3.4 -> 4.x - the 4.x releases should be internally compatible).

Do the Qt programs still run normally? (eg. linguist, qdesigner) If not: 
your libraries changed significantly and you need to recompile.

I'm not sure what the difference between Slackware 12 and 13 is, but I would 
let the computer do the recompile over night, just to be safe (the effects 
of slightly different symbol mangling and slightly different libs can be 
very strange during debugging).

A little side-hint: if you don't need the demos and examples add "-nomake 
demos -nomake examples" to configure - this saves about half of the compile 
time.



	Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091002/a19fbc4a/attachment.bin 


More information about the Qt-interest-old mailing list