syncqt: Do not print info about generating deprecated headers by default

Do not print information about deprecated headers when running in "quiet"
mode (-quiet argument, the default when configuring Qt modules).

Pick-to: 6.3
Change-Id: I4ea7f9251725527addef6c382b41f639048b8a9f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Kai Köhne 2022-03-12 09:53:34 +01:00
parent cc5cc3225d
commit 38c7c2ea30

View File

@ -1244,11 +1244,11 @@ foreach my $lib (@modules_to_sync) {
"#endif\n" .
"#endif\n";
if (writeFile($header_path, $hdrcont)) {
if ($verbose_level < 3) {
if ($verbose_level > 0 and $verbose_level < 3) {
my $line_prefix = ",";
$line_prefix = "$lib: created deprecated header(s) {" if ($first);
print "$line_prefix $header";
} else {
} elsif ($verbose_level >= 3) {
print "$lib: created deprecated header $header => $include\n";
}
$first = 0;
@ -1257,7 +1257,7 @@ foreach my $lib (@modules_to_sync) {
$pri_install_gfiles .= "$header ";
}
if ($verbose_level < 3) {
if ($verbose_level > 0 and $verbose_level < 3) {
print " }\n" unless ($first);
}