qt5base-lts/qmake/generators
Joerg Bornemann e022ff0a8e qmake/vcxproj: Fix "CONFIG += combine" extra compilers
Extra compilers with "CONFIG += combine" were broken for qmake's vcxproj
generator since forever.

Usually, extra compilers are handled by attaching the Custom Build Tool
to the input file.  This is not possible for combine extra compilers,
because they map multiple inputs to one output.  We cannot attach the
Custom Build Tool to the output either, because this would result in
circular dependency errors (output trying to create output itself).

To fix this, we create a custom build tool fake file (.cbt) for the
output and attach the Custom Build Tool there.  This is the same trick
we do for regular extra compilers that have C++ sources as
input (e.g. the one that generates moc_predefs.h).

Pick-to: 6.2 5.15
Fixes: QTBUG-94806
Change-Id: Ib808a43fead737df91b89a1ac5e180aeae37efae
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-10-25 18:10:43 +02:00
..
mac qmake/xcode: Do not create OBJECTS_DIR 2021-09-10 15:40:49 +02:00
unix Fix framework dependencies in .la files 2021-08-17 23:35:23 +02:00
win32 qmake/vcxproj: Fix "CONFIG += combine" extra compilers 2021-10-25 18:10:43 +02:00
makefile.cpp qmake/xcode: Do not create OBJECTS_DIR 2021-09-10 15:40:49 +02:00
makefile.h qmake/xcode: Do not create OBJECTS_DIR 2021-09-10 15:40:49 +02:00
makefiledeps.cpp Use QList instead of QVector in qmake 2020-09-05 07:07:44 +02: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