Skip to content

Commit

Permalink
syncqt: Do not print info about generating deprecated headers by default
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kkoehne committed Mar 15, 2022
1 parent cc5cc32 commit 38c7c2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libexec/syncqt.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1244,11 +1244,11 @@ ($$)
"#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;
Expand All @@ -1257,7 +1257,7 @@ ($$)

$pri_install_gfiles .= "$header ";
}
if ($verbose_level < 3) {
if ($verbose_level > 0 and $verbose_level < 3) {
print " }\n" unless ($first);
}

Expand Down

0 comments on commit 38c7c2e

Please sign in to comment.