From 13deba55b7840e2da04e68db889ee7480808e9e8 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 23 Nov 2024 21:11:24 +1300 Subject: [PATCH] genbindings/config: do not subclass platform-specific QAbstractEventDispatcher --- cmd/genbindings/config-allowlist.go | 6 ++++++ 1 file changed, 6 insertions(+) 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 }