[Interest] qmake Library VERSION issues on Windows
Carel Combrink
carel.combrink at gmail.com
Tue Jul 28 14:26:12 CEST 2015
Hi,
I have developed a few libraries in Linux and everything is working
correctly.
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
-lMyLibd
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
<http://www.qtcentre.org/threads/19266-qmake-and-library-version-handling>
(2009)
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
given.
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.
Regards,
Carel
---
Check out my SpellChecker Plugin for Qt Creator on github @
https://github.com/CJCombrink/SpellChecker-Plugin
-------------- 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