mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Set release_gil = True when generating bindings
This commit is contained in:
parent
6b4f8e4af6
commit
18d598ba4a
@ -37,6 +37,7 @@ class Qgis3D(PyQtBindings):
|
||||
super().__init__(project, '3d')
|
||||
self.sip_file = '3d.sip'
|
||||
self.exceptions = True
|
||||
self.release_gil = True
|
||||
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
|
||||
|
||||
def apply_user_defaults(self, tool):
|
||||
|
||||
@ -37,6 +37,7 @@ class QgisAnalysis(PyQtBindings):
|
||||
super().__init__(project, 'analysis')
|
||||
self.sip_file = 'analysis.sip'
|
||||
self.exceptions = True
|
||||
self.release_gil = True
|
||||
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
|
||||
|
||||
def apply_user_defaults(self, tool):
|
||||
|
||||
@ -37,6 +37,7 @@ class QgisCore(PyQtBindings):
|
||||
super().__init__(project, 'core')
|
||||
self.sip_file = 'core.sip'
|
||||
self.exceptions = True
|
||||
self.release_gil = True
|
||||
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
|
||||
|
||||
def apply_user_defaults(self, tool):
|
||||
|
||||
@ -37,6 +37,7 @@ class QgisGui(PyQtBindings):
|
||||
super().__init__(project, 'gui')
|
||||
self.sip_file = 'gui.sip'
|
||||
self.exceptions = True
|
||||
self.release_gil = True
|
||||
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
|
||||
|
||||
def apply_user_defaults(self, tool):
|
||||
|
||||
@ -37,6 +37,7 @@ class QgisServer(PyQtBindings):
|
||||
super().__init__(project, 'server')
|
||||
self.sip_file = 'server.sip'
|
||||
self.exceptions = True
|
||||
self.release_gil = True
|
||||
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")
|
||||
|
||||
def apply_user_defaults(self, tool):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user