qt5base-lts/qmake/generators
Joerg Bornemann 073214fdf9 qmake/msbuild: Turn off "use full paths in diagnostics" by default
The default setting for "Full Path of Source Code File in Diagnostics"
changed with VS 2017: it's now turned on by default.  It can also be
enabled with the compiler flag /FC, but there is no flag for turning it
off.

Users might want to disable /FC to obtain reproducable binaries.

Change qmake's default from "use Visual Studio's default" to "off" for
this feature.  Users can enable it manually by putting the following
into their project files:

    QMAKE_CXXFLAGS += /FC

CMake faced the same problem.  See CMake upstream issue #18261 for
comparison.

Pick-to: 5.15 6.2 6.3 6.4
Task-number: QTBUG-104450
Change-Id: Ibe636a0ac5d18aefb44f2b7179b59fcec2ad8353
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-22 16:05:07 +02:00
..
mac Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
unix Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
win32 qmake/msbuild: Turn off "use full paths in diagnostics" by default 2022-06-22 16:05:07 +02:00
makefile.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
makefile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
makefiledeps.cpp Teach qmake about digit-grouping apostrophes in numeric literals 2022-06-17 00:05:53 +02:00
makefiledeps.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metamakefile.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metamakefile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
projectgenerator.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
projectgenerator.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xmloutput.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xmloutput.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00