diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/syncqt.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/syncqt.pl b/bin/syncqt.pl index 43a033d8e1..b531dce374 100755 --- a/bin/syncqt.pl +++ b/bin/syncqt.pl @@ -935,6 +935,7 @@ foreach my $lib (@modules_to_sync) { if (opendir DIR, $subdir) { foreach my $t (sort { $b cmp $a } readdir(DIR)) { next if ($t =~ /\.pri$/); + next if ($t =~ /^qt[a-z0-9]+-config(_p)?\.h$/); my $file = "$subdir/$t"; if(-d $file) { push @subdirs, $file unless($t eq "." || $t eq ".."); @@ -985,6 +986,7 @@ foreach my $lib (@modules_to_sync) { #calc files and "copy" them foreach my $subdir (@subdirs) { my @headers = findFiles($subdir, "^[-a-z0-9_]*\\.h\$" , 0); + @headers = grep(!/^qt[a-z0-9]+-config(_p)?\.h$/, @headers); if (defined $inject_headers{$subdir}) { foreach my $if (@{$inject_headers{$subdir}}) { @headers = grep(!/^\Q$if\E$/, @headers); #in case we configure'd previously |