diff options
Diffstat (limited to 'PySide/QtCore/typesystem_core.xml')
-rw-r--r-- | PySide/QtCore/typesystem_core.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 84cf90632..9d38208ed 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -522,6 +522,12 @@ %PYARG_0 = %CONVERTTOPYTHON[long](qAbs(%1)); </inject-code> </add-function> + + <inject-code class="target" position="end"> + PyModule_AddIntConstant(module, "QT_VERSION", QT_VERSION); + PyModule_AddStringConstant(module, "QT_VERSION_STR", QT_VERSION_STR); + </inject-code> + <enum-type name="QtMsgType"/> <enum-type name="QSystemSemaphore::AccessMode"/> <enum-type name="QSystemSemaphore::SystemSemaphoreError"/> |