qt5base-lts/qmake/generators
Joerg Bornemann 7246058dfd qmake/MinGW: Fix linking target name with whitespace
When having a TARGET value that contains whitespace, linking would fail
with MinGW.  This was, because the function createResponseFile stitched
together a file name like this:
    objectScript."Target Name".Release

The inner double quotes make the file name invalid.

Fix this by retrieving QMAKE_ORIG_TARGET with the var() method instead
of fileVar().  The latter quotes the return value if it contains
spaces.

Pick-to: 5.15 6.2 6.3
Fixes: QTBUG-99522
Change-Id: Ieb7dcf3fbbd8a75de5a9b9a6beadb2170dddf35d
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2022-01-08 18:08:09 +01:00
..
mac qmake/Xcode: Mark "Qt Preprocess" build phase as always out of date 2021-12-09 17:28:35 +01:00
unix Fix framework dependencies in .la files 2021-08-17 23:35:23 +02:00
win32 qmake: Introduce the variable MSVC_TOOLSET_VER 2021-11-10 14:47:42 +01:00
makefile.cpp qmake/MinGW: Fix linking target name with whitespace 2022-01-08 18:08:09 +01:00
makefile.h qmake/xcode: Do not create OBJECTS_DIR 2021-09-10 15:40:49 +02:00
makefiledeps.cpp Fix size_t / int conversion warnings in qmake 2021-12-02 15:16:49 +01:00
makefiledeps.h Use QList instead of QVector in qmake 2020-09-05 07:07:44 +02:00
metamakefile.cpp QFileInfo: mark constructors as explicit 2020-11-15 18:30:16 +01:00
metamakefile.h qmake: Apply modernize-use-nullptr 2018-08-08 17:30:32 +00:00
projectgenerator.cpp Use QList instead of QVector in qmake 2020-09-05 07:07:44 +02:00
projectgenerator.h Merge remote-tracking branch 'origin/5.13' into dev 2019-06-14 13:45:18 +02:00
xmloutput.cpp Use qsizetype in QList 2020-07-06 21:31:14 +02:00
xmloutput.h Updated license headers 2016-01-21 18:55:18 +00:00