mirror of
https://github.com/mappu/miqt.git
synced 2024-12-21 16:38:38 +00:00
genbindings/config: prevent some classes from subclassing
This commit is contained in:
parent
a5dafbf132
commit
7f2e4d07df
@ -211,6 +211,20 @@ func AllowVirtualForClass(className string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Pure virtual method futureInterface() returns an unprojectable template type
|
||||
if className == "QFutureWatcherBase" {
|
||||
return false
|
||||
}
|
||||
|
||||
// Pure virtual dtor (should be possible to support)
|
||||
if className == "QObjectData" {
|
||||
return false
|
||||
}
|
||||
|
||||
if className == "QAccessibleObject" {
|
||||
return false // undefined reference to `vtable for MiqtVirtualQAccessibleObject'
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user