qt5base-lts/qmake/generators
Oswald Buddenhagen 6b4f2f7556 qmake: get rid of (some) makefile expansions in dependency paths
the variables are quoted correctly for commands, which is incompatible
with quoting for dependencies under mingw. so insert the paths as
literals, where we can control quoting.

this fixes building in directories with spaces, which i broke in
7c34e0a7b by using different quoting styles for deps and commands in the
first place.

this breaks the hypothetical use case where somebody wants to override
TARGET or DESTDIR (or DESTDIR_TARGET under windows) on the *make*
command line. not sure why anyone would do that - just do it at the
*qmake* level.

we did not get rid of OBJECTS, because that would cause significant
duplication in the makefile (not that it would matter too much, given
the dependency lists ...). this isn't a problem, because these are
short relative paths which are not expected to contain "funny"
characters.

an alternative would have been to change the variables' quoting and
eliminate them from the commands instead, but that would be
backwards-incompatible, because commands are "user-servicable".
for the same reason, we cannot get rid of the variables entirely.

Change-Id: Ic7592c7fc67d8b7d2b64de80808365cd1c3f79d0
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2018-07-16 15:44:44 +00:00
..
mac qmake: refactor QMakeMetaInfo::findLib() interface 2018-07-16 15:44:23 +00:00
unix qmake: get rid of (some) makefile expansions in dependency paths 2018-07-16 15:44:44 +00:00
win32 qmake: get rid of (some) makefile expansions in dependency paths 2018-07-16 15:44:44 +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