aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-20 13:20:34 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-20 18:09:58 -0300
commit7b9a4707ce9f178bb3122444b16d7ad1e05a515c (patch)
tree7da64d3287dbfcb8bd0337e54929dc39c3bb7d85 /PySide
parent2bdba4680c7ead9b3488a0dc01bf0945ae57c3a8 (diff)
Fixed typesystem for windows.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtCore/typesystem_core.xml1
-rw-r--r--PySide/QtGui/CMakeLists.txt4
-rw-r--r--PySide/QtGui/typesystem_gui_win.xml6
3 files changed, 11 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 571cc913d..c377c7fd2 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -36,6 +36,7 @@
<rejection class="QMetaObject" function-name="changeGuard"/>
<rejection class="QMetaObject" function-name="removeGuard"/>
+ <rejection calls="WId" />
<rejection class="QFutureSynchronizer"/>
<rejection class="QByteArray" function-name="contains"/>
<rejection class="QRunnable"/>
diff --git a/PySide/QtGui/CMakeLists.txt b/PySide/QtGui/CMakeLists.txt
index 18ce25601..9d2b89704 100644
--- a/PySide/QtGui/CMakeLists.txt
+++ b/PySide/QtGui/CMakeLists.txt
@@ -52,6 +52,10 @@ elseif(ENABLE_MAC)
set(MODULE_NAME "mac")
set(SPECIFIC_OS_FILES
)
+elseif(ENABLE_WIN)
+ set(MODULE_NAME "win")
+ set(SPECIFIC_OS_FILES
+ )
endif(ENABLE_X11)
diff --git a/PySide/QtGui/typesystem_gui_win.xml b/PySide/QtGui/typesystem_gui_win.xml
new file mode 100644
index 000000000..0dfb50487
--- /dev/null
+++ b/PySide/QtGui/typesystem_gui_win.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<typesystem package="PySide.QtGui">
+ <primitive-type name="Qt::HANDLE" target-lang-api-name="PyObject"/>
+
+ <load-typesystem name="typesystem_gui_common.xml" generate="yes"/>
+</typesystem>