From 990f057b8d170509cb407f1fff3d382db6b4e9f5 Mon Sep 17 00:00:00 2001 From: Renato Filho Date: Wed, 1 Sep 2010 15:40:35 -0300 Subject: 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 Lauro Neto --- PySide/global.h.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'PySide') 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 #include -#ifndef QT_NO_XMLPATTERNS +#ifdef @QT_QTXMLPATTERNS_FOUND@ # include #endif -#ifndef QT_NO_WEBKIT +#ifdef @QT_QTWEBKIT_FOUND@ # include #endif -#ifndef QT_NO_TEST +#ifdef @QT_QTTEST_FOUND@ # include #endif -- cgit v1.2.3