[Interest] qmake Library VERSION issues on Windows

Carel Combrink carel.combrink at gmail.com
Thu Jul 30 07:24:11 CEST 2015


Any help?

I forgot to mention my environment:
Windows 7 x64
Qt 5.4.2
mingw 4.9.1 32bit

Regards,
Carel

On Tue, Jul 28, 2015 at 2:26 PM, Carel Combrink <carel.combrink at gmail.com>
wrote:

> 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/20150730/33a5abac/attachment.html>


More information about the Interest mailing list