diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2018-12-13 22:19:08 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2018-12-13 23:28:49 +0100 |
commit | 72d50182f7ec73ffc05b51d4cf59b7fe9509f155 (patch) | |
tree | 890fb6ee5e5d3d08ffd8126a4b88cee93416cf25 | |
parent | 6702323a10b16c3733da4f57e426d0a1247acf49 (diff) |
qtcreator: Take system includes into account
Take system includes ('-isystem') into account
when generating the '*.pro' files for Qt Creator
using the 'qtcreator-ide-integration' make target.
Without this, Qt Creator is unable to find the
corresponding included files.
This also makes Qt Creator's ClangCodeModel
able to properly process files and display
actual problems, rather than always showing
a multitude of errors due to missing includes
while parsing the source/header files.
Change-Id: Ie513341e1074ceab9304ae9df73fac9a79329db8
Reviewed-on: https://gerrit.libreoffice.org/65129
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rwxr-xr-x | bin/gbuild-to-ide | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index 5ea0406be71f..7d91829bedb8 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -1488,7 +1488,7 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): headers_list.append(lopath(file_ + ext)) # List all include paths - for hdir in lib.include: + for hdir in (lib.include + lib.include_sys): hf_lopath = lopath(hdir) includepath_list.append(hf_lopath) |