[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-6-1+backports' - bin/gbuild-to-ide

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Dec 13 22:30:23 UTC 2018


 bin/gbuild-to-ide |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04769fd324c9b3ae327f1f6464672e4887f72609
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Thu Dec 13 22:19:08 2018 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Thu Dec 13 23:29:49 2018 +0100

    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 at posteo.de>
    (cherry picked from commit 72d50182f7ec73ffc05b51d4cf59b7fe9509f155)
    Reviewed-on: https://gerrit.libreoffice.org/65132
    Tested-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index 90a732d7c614..5c9c6e2445f3 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -1491,7 +1491,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)
 


More information about the Libreoffice-commits mailing list