qmake/vcxproj: Fix handling of extra compiler outputs
In commit 68866b1a7b we introduced a bug:
At a point where the first output of an extra compiler is extracted, we
try to evaluate the first output as qmake variable. This is as
nonsensical as it sounds and leads to malformed extra compiler output in
vcxproj files.
Pick-to: 5.15
Task-number: QTBUG-87601
Change-Id: Ib9aaf8a6eed8c69243f364554325c240d0bfc7f4
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
bb10
parent
5b57ce06a8
commit
93ac7b9d17
|
|
@ -1527,7 +1527,7 @@ void VcprojGenerator::initExtraCompilerOutputs()
|
|||
|
||||
QString tmp_out;
|
||||
if (!outputs.isEmpty())
|
||||
tmp_out = project->first(outputs.first().toKey()).toQString();
|
||||
tmp_out = outputs.first().toQString();
|
||||
if (project->values(ProKey(*it + ".CONFIG")).indexOf("combine") != -1) {
|
||||
// Combined output, only one file result
|
||||
extraCompile.addFile(Option::fixPathToTargetOS(
|
||||
|
|
|
|||
Loading…
Reference in New Issue