mirror of
https://github.com/mappu/miqt.git
synced 2025-04-11 08:00:23 +00:00
genbindings: ignore QQmlNetworkAccessManagerFactory::create, QQmlEngine::networkAccessManager to prevent dependency on Network for now
This commit is contained in:
parent
1797cb542d
commit
3a92648bd8
@ -348,6 +348,16 @@ func AllowMethod(className string, mm CppMethod) error {
|
||||
return ErrTooComplex
|
||||
}
|
||||
|
||||
if className == "QQmlNetworkAccessManagerFactory" && mm.MethodName == "create" {
|
||||
// Prevent Qml dependency on Network for now
|
||||
return ErrTooComplex
|
||||
}
|
||||
|
||||
if className == "QQmlEngine" && mm.MethodName == "networkAccessManager" {
|
||||
// Prevent Qml dependency on Network for now
|
||||
return ErrTooComplex
|
||||
}
|
||||
|
||||
if className == "QJSEngine" && mm.MethodName == "handle" {
|
||||
return ErrTooComplex // Not part of the interface
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user