diff --git a/cmd/genbindings/config-allowlist.go b/cmd/genbindings/config-allowlist.go index 2273cb28..8104cfaf 100644 --- a/cmd/genbindings/config-allowlist.go +++ b/cmd/genbindings/config-allowlist.go @@ -225,6 +225,12 @@ func AllowVirtualForClass(className string) bool { return false // undefined reference to `vtable for MiqtVirtualQAccessibleObject' } + // Pure virtual method registerEventNotifier takes a QWinEventNotifier* on Windows + // which is platform-specific + if className == "QAbstractEventDispatcher" { + return false + } + return true }