summaryrefslogtreecommitdiffstats
path: root/util/local_database/localexml.py
diff options
context:
space:
mode:
authorMatthias Doerfel <doerfel@inchron.com>2019-05-04 19:51:53 +0300
committerKai Koehne <kai.koehne@qt.io>2019-05-07 08:41:09 +0000
commitf6238e2d3bd96597a618978175b558d0bdbb3be6 (patch)
tree0870b2acc5da06f9a7b9c487de166bfd2c02d969 /util/local_database/localexml.py
parentb5154b5254950427383c96a382457fa0bb87e69e (diff)
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>
Diffstat (limited to 'util/local_database/localexml.py')
0 files changed, 0 insertions, 0 deletions