[Qt-interest] Making qmake generate Makefile to only compile object files

Thiago Macieira thiago.macieira at trolltech.com
Wed Jan 14 21:07:51 CET 2009


Silas Silva wrote:
>My question is: is it possible to make qmake generate a Makefile that
>compiles object files, but don't try to link them?

Yes. You're looking for a static library, so add to your .pro file:

	TEMPLATE = staticlib

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Software Engineer - Nokia, Qt Software
  Qt Software is hiring - ask me
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090114/7571d981/attachment.bin 


More information about the Qt-interest-old mailing list