aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/global.h.in
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-26 18:12:45 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-26 18:23:35 -0300
commit2774fd8af75ad5a1f412d6e72493de438ce2b8ae (patch)
treeeca78f677cf6f90f5c9d802c691f73d412351d42 /PySide/global.h.in
parentd552e6eba8a908b02dc032402f532245f672dad0 (diff)
Fixed Mac OS build
Fix parser of QApplication header. Fixes bug #318 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
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>