qt5base-lts/qmake/generators
Oswald Buddenhagen 7a33f49e15 qmake: fix lookup of .prl files for libs specified by full filename
under windows, libraries can have a numeric suffix derived from VERSION,
and (under MinGW) a unix-like "lib" prefix - neither of which .prl files
have. therefore, we had to make the back-mapping from the library to the
.prl file reverse-engineer the original TARGET's name. we verify whether
we actually got the right file by comparing the target specified inside
the .prl file with what we started from.

this fixes linking of transitive deps of static deps.

the alternative of changing the .prl naming pattern to avoid the
back-mapping was discarded, as a) it would be backwards incompatible and
b) it would break project-internal -lfoo references to versioned libs.

Change-Id: Ia9b899fe6a5700fee528bd1dacf130caf083cdd6
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2018-07-16 15:44:37 +00:00
..
mac qmake: refactor QMakeMetaInfo::findLib() interface 2018-07-16 15:44:23 +00:00
unix qmake: slightly optimize processPrlFile() calls 2018-07-16 15:44:27 +00:00
win32 qmake: fix lookup of .prl files for libs specified by full filename 2018-07-16 15:44:37 +00:00
makefile.cpp qmake: fix lookup of .prl files for libs specified by full filename 2018-07-16 15:44:37 +00:00
makefile.h qmake: fix lookup of .prl files for libs specified by full filename 2018-07-16 15:44:37 +00:00
makefiledeps.cpp Qmake: Fix compilation with QMAKE_USE_CACHE 2018-06-13 11:20:12 +00:00
makefiledeps.h qmake: replace a uint:1 with a bool 2016-08-15 22:16:09 +00:00
metamakefile.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-29 17:55:20 +02:00
metamakefile.h Updated license headers 2016-01-21 18:55:18 +00:00
projectgenerator.cpp Pass the absolute path with the file when finding files 2017-06-19 08:39:40 +00:00
projectgenerator.h qmake: escape colons and hashmarks in dependency paths 2018-06-25 13:35:20 +00:00
xmloutput.cpp Merge remote-tracking branch 'origin/5.6' into dev 2016-02-11 08:25:04 +01:00
xmloutput.h Updated license headers 2016-01-21 18:55:18 +00:00