[Qt-interest] qmake / MinGW and stale libraries

Schimkowitsch Robert Robert.Schimkowitsch at andritz.com
Wed Oct 5 10:29:41 CEST 2011


Hi,

with qmake, I often have the problem of "stale libraries", libs that
seemingly haven't been recompiled correctly despite changes to the code.

I have the most serious problems in folders where I have two project
essentially compiling the same code, one an app (for testing) , one a
lib (for other projects to use).
They use the same source files, plus the test app has a main.cpp, and
sometimes a few extra classes.

One thing I often see are leftover Makefiles that I have to delete
manually before the resulting lib is any good.

In many cases where I simply can't know anymore which of my libraries is
stale, I do a complete clean (plus a manual delete of the Makefiles,
plus a manual delete of the output binaries), then take a break as the
whole bunch of libraries is re-compiled.

I am already using
CONFIG += create_prl
and 
CONFIG += link_prl

in all my libraries and applications, respectively.

Are there any ways to further improve qmake's capabilities to detect
when it should re-run?

Or are we talking mingw limitation here as well?

Kind regards

Robert Schimkowitsch

#####################################################################################
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
  ANDRITZ HYDRO GmbH
  Rechtsform/ Legal form: Gesellschaft mit beschrankter Haftung / Corporation 
  Firmensitz/ Registered seat: Wien 
  Firmenbuchgericht/ Court of registry: Handelsgericht Wien 
  Firmenbuchnummer/ Company registration: FN 61833 g
  DVR: 0605077 
  UID-Nr.: ATU14756806
#####################################################################################

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111005/8a16ce4a/attachment.html 


More information about the Qt-interest-old mailing list