summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-15 11:32:06 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-18 17:11:06 +0000
commit19877a05078d76e2de33bb0072a86cf08335787e (patch)
treeb80b5f4d31fe3feed4a53e09e2ba6c006f26e4c5 /bin
parenta5bb91c2b81388e7c84548a7aed44257f5662776 (diff)
automatically exclude generated headers from syncqt checks
Change-Id: I349a132745165f8873eda351e86bf15c90156aaf Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/syncqt.pl b/bin/syncqt.pl
index 633068287e..7410762985 100755
--- a/bin/syncqt.pl
+++ b/bin/syncqt.pl
@@ -879,6 +879,10 @@ loadSyncProfile(\$basedir, \$out_basedir);
@modules_to_sync = keys(%modules) if($#modules_to_sync == -1);
+for my $p (keys %inject_headers) {
+ push @ignore_for_include_check, @{$inject_headers{$p}};
+}
+
my %allmoduleheadersprivate = map { $_ => 1 } @allmoduleheadersprivate;
%ignore_for_include_check = map { $_ => 1 } @ignore_for_include_check;
%ignore_for_qt_begin_namespace_check = map { $_ => 1 } @ignore_for_qt_begin_namespace_check;