aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/global.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/global.h.in')
-rw-r--r--PySide/global.h.in2
1 files changed, 2 insertions, 0 deletions
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>