aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PySide/QtGui/typesystem_gui.xml2
-rw-r--r--PySide/global.h.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/PySide/QtGui/typesystem_gui.xml b/PySide/QtGui/typesystem_gui.xml
index a5dcfd928..66c33d4bd 100644
--- a/PySide/QtGui/typesystem_gui.xml
+++ b/PySide/QtGui/typesystem_gui.xml
@@ -4361,6 +4361,8 @@
<include file-name="QStyle" location="global"/>
</extra-includes>
<modify-function signature="QApplication(int &amp;, char **)" access="private" />
+ <modify-function signature="QApplication(int &amp;, char **, bool)" remove="all" />
+ <modify-function signature="QApplication(int &amp;, char **, QApplication::Type)" remove="all" />
<modify-function signature="exec()" rename="exec_" allow-thread="yes"/>
<inject-code class="native" file="glue/qapplication_init.cpp" position="beginning" />
diff --git a/PySide/global.h.in b/PySide/global.h.in
index ef8542473..402de4e09 100644
--- a/PySide/global.h.in
+++ b/PySide/global.h.in
@@ -348,6 +348,8 @@ QT_END_HEADER
#include <QtCore/QtCore>
#if @ENABLE_MAC@ || @ENABLE_WIN@
+ // Workaround to parse the QApplication header
+ #define Q_INTERNAL_QAPP_SRC
#undef qdoc
#endif
#include <QtGui/QtGui>