qt5base-lts/qmake
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
..
doc Doc: Fix broken links 2021-09-17 13:01:46 +00:00
generators qmake/vcxproj: Fix "CONFIG += combine" extra compilers 2021-10-25 18:10:43 +02:00
library Remove fatuously true or false QT_VERSION checks 2021-09-23 16:57:03 +02:00
cachekeys.h qmake: Clear caches before exiting 2021-05-06 23:49:20 +02:00
CMakeLists.txt Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
configure.cmake Add the 'FEATURE_qmake' feature 2021-03-04 09:49:44 +01:00
main.cpp QDirIterator: add nextFileInfo() 2021-07-28 15:16:42 +02:00
meta.cpp qmake: Remove dead code 2019-04-05 07:48:34 +00:00
meta.h qmake: Remove dead code 2019-04-05 07:48:34 +00:00
option.cpp Fix "qmake -spec foo" call for cross builds 2021-04-26 10:59:32 +02:00
option.h Move the common qmake sources into a object library 2021-03-11 15:46:34 +01:00
project.cpp qmake: Clear caches before exiting 2021-05-06 23:49:20 +02:00
project.h Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00
property.cpp Add support for various output formats for QMakeProperty 2021-03-12 13:20:00 +01:00
property.h Add support for various output formats for QMakeProperty 2021-03-12 13:20:00 +01:00
propertyprinter.cpp Add support for various output formats for QMakeProperty 2021-03-12 13:20:00 +01:00
propertyprinter.h Add support for various output formats for QMakeProperty 2021-03-12 13:20:00 +01:00
qmake_pch.h Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00
qmakelibraryinfo.cpp Fix QT_HOST_DATA for builds setting INSTALL_MKSPECSDIR 2021-06-23 22:12:41 +02:00
qmakelibraryinfo.h Unify QLibraryInfo settings 2021-03-17 11:57:11 +01:00