qt6-bb10/qmake/generators
Matthias Doerfel f6238e2d3b qmake: Distinguish local header files by directory and name
Information about header files is cached by qmake. The key is the
filename of the #include directive. For system includes (<stdio.h>) this
is unique, according to the search order in INCLUDE_PATH.

For local includes, given as "foo.h", there may be name collisions. Usually a
compiler first searches in the directory of the current file (stored in the
sourceDir variable), and only in case of a miss the INCLUDE_PATH is
considered.

The dependency generation now distinguishes local header files by their full
relative path. This is implemented by forcing the use of the full relative
path as key into the SourceFiles data structure if the flag try_local is set.

Change-Id: Ifd75325b53496824054595f7fc98d71bbd9d8aa6
Fixes: QTBUG-72383
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2019-05-07 08:41:09 +00:00
..
mac qmake: Remove dead code 2019-04-05 07:48:34 +00:00
unix qmake: Remove dead code 2019-04-05 07:48:34 +00:00
win32 Teach qmake MSVC's compiler options /std:c++[14|17|latest] 2019-04-23 09:09:41 +00:00
makefile.cpp qmake: Remove dead code 2019-04-05 07:48:34 +00:00
makefile.h Make the Makefile a dependency of default targets for nmake 2019-02-04 08:10:25 +00:00
makefiledeps.cpp qmake: Distinguish local header files by directory and name 2019-05-07 08:41:09 +00:00
makefiledeps.h qmake: replace a uint:1 with a bool 2016-08-15 22:16:09 +00:00
metamakefile.cpp qmake: Apply modernize-use-nullptr 2018-08-08 17:30:32 +00:00
metamakefile.h qmake: Apply modernize-use-nullptr 2018-08-08 17:30:32 +00:00
projectgenerator.cpp qmake: Apply modernize-use-nullptr 2018-08-08 17:30:32 +00:00
projectgenerator.h qmake: Apply modernize-use-override 2018-08-08 17:30:23 +00:00
xmloutput.cpp Merge remote-tracking branch 'origin/5.6' into dev 2016-02-11 08:25:04 +01:00
xmloutput.h Updated license headers 2016-01-21 18:55:18 +00:00