summaryrefslogtreecommitdiff
path: root/src/qdoc/cppcodeparser.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2016-09-30 09:51:10 +0200
committerMartin Smith <martin.smith@qt.io>2017-08-10 07:33:08 +0000
commitc95cba39a68bea4dc4c3c003e768412f0640e24f (patch)
tree848a2d100acbc7a10452ec4f7e72eddb7d40465c /src/qdoc/cppcodeparser.cpp
parent0c79d9b16b150a7457caa998fd304af35e407b2d (diff)
downloadqttools-c95cba39a68bea4dc4c3c003e768412f0640e24f.tar.gz
qdoc: Find the system include path if not provided
clang needs the path to the system include files. There is an option to pass system include paths to qdoc on the command line, but currently there is no way to get the information from the build system. With this change, clangqdoc asks if the system include paths have been provided. If not, it uses the path to <locale.h> as the system include path, which it passes to clang using the -isystem option. Thanks to Edward Welbourne for this solution. Change-Id: I2716505126d7780fc616b8ffd7cd2865576bae16 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/cppcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions