[Interest] qmake Library VERSION issues on Windows

Thiago Macieira thiago.macieira at intel.com
Thu Jul 30 08:26:23 CEST 2015

On Thursday 30 July 2015 07:58:15 Carel Combrink wrote:
> How does the Linux side know which version to link to, I am assuming this
> is then a feature of gcc/make and not qmake?

No, it's really qmake. It creates symlinks.

When you pass -lXXX, the linker searches for libXXX.so and then libXXX.a. 
qmake creates a symlink from libXXX.so to the actual file.

> I can't see that my dependent lib knows the version of the base lib because
> the VERSION variable is set in the PRO file, but my dependent lib links
> against the PRI file that does not contain this information. It is then
> probably because I normally build them together?
> If it is not qmake related then I understand if you do not have more
> information on this.

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

More information about the Interest mailing list