[Interest] qmake Library VERSION issues on Windows

Carel Combrink carel.combrink at gmail.com
Tue Jul 28 14:26:12 CEST 2015


I have developed a few libraries in Linux and everything is working
The libraries set the VERSION variable in the project file and some depend
on others.

I am now trying to test the code on Windows but have issues due to the
versioning of the libraries. I get linker errors for libraries that depend
on another.

The first library creates: MyLibd0.dll and MyLibd0.a
The depending library fails with the following error: ld.exe cannot find
I have checked that my -L path is correct and points to the directory that
contains MyLibd0.dll

PS: The same issue was discussed on QtCentre here
but no solution was given. In this discussion it is mentioned that it
should 'just work' on Windows as well as Linux but no final solution is

On Linux I can see, using ldd, that the libraries link to the correct
versions as specified in the VERSION variable.

Is there something that I am missing?

Any help will be appreciated.


Check out my SpellChecker Plugin for Qt Creator on github @
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150728/a531b870/attachment.html>

More information about the Interest mailing list