genbindings/config: do not subclass platform-specific QAbstractEventDispatcher

This commit is contained in:
mappu 2024-11-23 21:11:24 +13:00
parent a0e56bf7c2
commit 13deba55b7

View File

@ -225,6 +225,12 @@ func AllowVirtualForClass(className string) bool {
return false // undefined reference to `vtable for MiqtVirtualQAccessibleObject' 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 return true
} }