[Interest] Automatic relink of executable after change in dependant static library

Thiago Macieira thiago.macieira at intel.com
Fri Jun 16 21:57:41 CEST 2017

On Friday, 16 June 2017 12:08:39 PDT Enmaniac Software wrote:
> As for my question. I am trying to figure out why my executable is not being
> updated when the static library which it depends on gets changed. Here are
> my PRO files.

Because that's the expected behaviour.

You need to add an extra rule to force relinking if the .a file changed. 
There's a way, but I don't remember how. Some QMAKE_xxx variable you need to 
set in the .pro file of the code that uses the library.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list