From a6d314559f1ecbd562a243742716f420c1a86d71 Mon Sep 17 00:00:00 2001 From: mappu Date: Mon, 11 Nov 2024 19:05:09 +1300 Subject: [PATCH] multimedia: add blocklist for QWaveDecoder::setIODevice --- cmd/genbindings/config-allowlist.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/genbindings/config-allowlist.go b/cmd/genbindings/config-allowlist.go index 4f966dfa..956dac39 100644 --- a/cmd/genbindings/config-allowlist.go +++ b/cmd/genbindings/config-allowlist.go @@ -210,6 +210,10 @@ func AllowMethod(className string, mm CppMethod) error { return ErrTooComplex // Present in Qt 5.15 and 6.4, missing in Qt 6.7 } + if className == "QWaveDecoder" && mm.MethodName == "setIODevice" { + return ErrTooComplex // Qt 6: Present in header, but no-op method was not included in compiled library + } + return nil // OK, allow }