]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Update moc handling to be aware of Qt6
[blhc/blhc.git] / bin / blhc
index e3c14b4cdcd668b6ad8b99f7641846a02c0876f7..c4fac96d01db2bdc7c21e8bed2a4755aa8e649b1 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -1076,7 +1076,7 @@ foreach my $file (@ARGV) {
             # C++ files. No hardening flags are relevant during this step,
             # thus ignore `moc-qt*` lines. The resulting files will be
             # compiled in a separate step (and therefore checked).
-            next if $line =~ m{^\S+/bin/moc(?:-qt[45])?
+            next if $line =~ m{^\S+(?:/bin/moc(?:-qt[45])?|/lib/qt6/libexec/moc)
                                \s.+\s
                                -I\S+/mkspecs/[a-z]+-g\++(?:-64)?
                                \s}x;