[Development] How to let QtCore and QtGui etc. static linked against with one precompiled object

Thiago Macieira thiago.macieira at intel.com
Sun May 20 11:12:22 CEST 2012

On domingo, 20 de maio de 2012 03.36.46, song.7.liu at nokia.com wrote:
> Hi,
> I want to let QtCore and QtGui etc. modules static linked against with one
> pre-compiled achieve object. So could someone help how to modify the
> qmake.conf under the related mkspecs folder ?

That will probably require modifying qmake itself.

It's much easier to compile them as regular static libraries, then to merge 
the .a archives using ar.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120520/6060ee45/attachment.sig>

More information about the Development mailing list