aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/typesystem_core.xml
diff options
context:
space:
mode:
authorrenatofilho <renato.filho@openbossa.org>2010-11-12 08:52:09 -0300
committerrenatofilho <renato.filho@openbossa.org>2010-11-12 14:25:27 -0300
commit178f81aa70711876fe492431ae32afa3538cf460 (patch)
tree08da3637fb25f36969e8e61daaf1700dc611dea6 /PySide/QtCore/typesystem_core.xml
parent655219636b1500e82d543914045f4cc7ba7db95f (diff)
Added PySide attributes to specify current version, and Qt version.
Fixes bug: #454 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtCore/typesystem_core.xml')
-rw-r--r--PySide/QtCore/typesystem_core.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index e542ea693..c5d3ac552 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -596,10 +596,7 @@
</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>
+ <inject-code class="target" position="end" file="glue/qt_version.cpp" />
<add-function signature="__moduleShutdown()">
<inject-code class="target" position="beginning">