On Windows, I'm attempting to do the following:   LIBS += -lsomeLibwhere 
someLib exists in the /LIBPATH as someLib0.dll and someLib0.lib.  When I run 
qmake, it never finds someLib0.lib and always puts someLib.lib in the generated 
Makefile.  If the library is named someLib1.dll & someLib1.lib, then it will 
find it & add it appropriately to the generated Makefile.
I believe that the problem lies in 
generators/win32/winmakefile.cpp:findLibraries where it calls 
findHighestVersion.  findHighestVersion is returning 0, but findLibraries is 
not accepting this as a valid value.  In one spot (-lsomeLib branch), it 
specifically only allows positive values.  In the second spot (someLib.lib in 
LIBS), it specifically substitutes the empty string for zero.
My question is:  why is zero not allowed as a valid version of a library?
If it decided that allowing a zero version is allowed, I will submit the patch 
to Gerrit to change this.

Darin Broady
[email protected]
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to