summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Barz <barz.felix@web.de>2019-07-06 20:28:48 +0200
committerFelix Barz <barz.felix@web.de>2019-07-11 09:50:18 +0200
commit36a15a87de2b954b1cef24acd4a8cd4ef5aef6cd (patch)
treea0cfd22f3b986f220fea7518d35dde7e7b972a5b
parentffaf3cfc21586febc2bba93c87b130278d07e433 (diff)
syncqt: Fix module header install target creation
Modified a regular expression in syncqt.pl so that the special case of a class beginning with another class does not lead to the exclusion of the first one. This affects the generation of the install target for generated class headers of Qt modules. Now the expression verifies the class names are not identical. Fixes: QTBUG-71323 Change-Id: I210b4d4c3ed64cf189594b95b10aa0e8495a19d2 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rwxr-xr-xbin/syncqt.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/syncqt.pl b/bin/syncqt.pl
index 7793811c9f..8226edfb76 100755
--- a/bin/syncqt.pl
+++ b/bin/syncqt.pl
@@ -1092,7 +1092,7 @@ foreach my $lib (@modules_to_sync) {
# }
my $class_header = "$class ";
$pri_install_gfiles .= $class_header
- unless ($shadow || $pri_install_gfiles =~ $class_header);
+ unless ($shadow || $pri_install_gfiles =~ m/\b$class_header/);
$injection .= ":$class";
}