aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/global.h.in
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-09-01 15:40:35 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-09-01 16:48:32 -0300
commit990f057b8d170509cb407f1fff3d382db6b4e9f5 (patch)
tree8c594936f2038045206d79500208110aed31fb13 /PySide/global.h.in
parent589c40a6d60b59d90cec180bb54f8fe08a4bee17 (diff)
Use Cmake detected vars to generete global.h file.
This make PySide independent of Qt Macros in some cases these macros return invalid value because the module can be compiled separated from Qt. Fixes bug #326. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Lauro Neto <lauro.neto@openbossa.org>
Diffstat (limited to 'PySide/global.h.in')
-rw-r--r--PySide/global.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/PySide/global.h.in b/PySide/global.h.in
index 402de4e09..7bba83651 100644
--- a/PySide/global.h.in
+++ b/PySide/global.h.in
@@ -371,15 +371,15 @@ QT_END_HEADER
#include <QtSql/QtSql>
#include <QtSvg/QtSvg>
-#ifndef QT_NO_XMLPATTERNS
+#ifdef @QT_QTXMLPATTERNS_FOUND@
# include <QtXmlPatterns/QtXmlPatterns>
#endif
-#ifndef QT_NO_WEBKIT
+#ifdef @QT_QTWEBKIT_FOUND@
# include <QtWebKit/QtWebKit>
#endif
-#ifndef QT_NO_TEST
+#ifdef @QT_QTTEST_FOUND@
# include <QtTest/QtTest>
#endif