Use sbkpython.h instead of Python.h to avoid problems with Python2.5.

Reviewer: Lauro Moura <lauro.neto@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
This commit is contained in:
Hugo Parente Lima 2011-10-10 15:01:38 -03:00
commit ed94eda798
24 changed files with 24 additions and 24 deletions

View file

@ -1,4 +1,4 @@
#include <Python.h> #include <sbkpython.h>
#include "destroylistener.h" #include "destroylistener.h"
#include <QObject> #include <QObject>

View file

@ -24,7 +24,7 @@
#define DYNAMICQMETAOBJECT_H #define DYNAMICQMETAOBJECT_H
#include "pysidemacros.h" #include "pysidemacros.h"
#include <Python.h> #include <sbkpython.h>
#include <QMetaObject> #include <QMetaObject>
#include <QMetaMethod> #include <QMetaMethod>

View file

@ -23,7 +23,7 @@
#ifndef DYNAMICMETAPROPERTY_P_H #ifndef DYNAMICMETAPROPERTY_P_H
#define DYNAMICMETAPROPERTY_P_H #define DYNAMICMETAPROPERTY_P_H
#include <Python.h> #include <sbkpython.h>
#include <QByteArray> #include <QByteArray>
#include <QMetaMethod> #include <QMetaMethod>

View file

@ -23,7 +23,7 @@
#ifndef GLOBALRECEIVER_H #ifndef GLOBALRECEIVER_H
#define GLOBALRECEIVER_H #define GLOBALRECEIVER_H
#include <Python.h> #include <sbkpython.h>
#include <QObject> #include <QObject>
#include <QHash> #include <QHash>
#include <QSet> #include <QSet>

View file

@ -23,7 +23,7 @@
#ifndef GLOBALRECEIVER_V2_H #ifndef GLOBALRECEIVER_V2_H
#define GLOBALRECEIVER_V2_H #define GLOBALRECEIVER_V2_H
#include <Python.h> #include <sbkpython.h>
#include <QObject> #include <QObject>
#include <QHash> #include <QHash>
#include <QSet> #include <QSet>

View file

@ -23,7 +23,7 @@
#ifndef PYSIDE_H #ifndef PYSIDE_H
#define PYSIDE_H #define PYSIDE_H
#include <Python.h> #include <sbkpython.h>
#include <pysidemacros.h> #include <pysidemacros.h>
#include <QMetaType> #include <QMetaType>
#include <QHash> #include <QHash>

View file

@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <Python.h> #include <sbkpython.h>
#include "pysideclassinfo.h" #include "pysideclassinfo.h"
#include "pysideclassinfo_p.h" #include "pysideclassinfo_p.h"
#include "dynamicqmetaobject.h" #include "dynamicqmetaobject.h"

View file

@ -24,7 +24,7 @@
#define PYSIDE_CLASSINFO_H #define PYSIDE_CLASSINFO_H
#include <pysidemacros.h> #include <pysidemacros.h>
#include <Python.h> #include <sbkpython.h>
#include <QMap> #include <QMap>
#include <QByteArray> #include <QByteArray>

View file

@ -23,7 +23,7 @@
#ifndef PYSIDE_CLASSINFO_P_H #ifndef PYSIDE_CLASSINFO_P_H
#define PYSIDE_CLASSINFO_P_H #define PYSIDE_CLASSINFO_P_H
#include <Python.h> #include <sbkpython.h>
#include <QMetaObject> #include <QMetaObject>
#include "pysideclassinfo.h" #include "pysideclassinfo.h"

View file

@ -23,7 +23,7 @@
#ifndef PYSIDECONVERSIONS_H #ifndef PYSIDECONVERSIONS_H
#define PYSIDECONVERSIONS_H #define PYSIDECONVERSIONS_H
#include <Python.h> #include <sbkpython.h>
#include <QFlag> #include <QFlag>
#include <conversions.h> #include <conversions.h>
#include <pysideqflags.h> #include <pysideqflags.h>

View file

@ -19,7 +19,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <Python.h> #include <sbkpython.h>
#include "pysidemetafunction.h" #include "pysidemetafunction.h"
#include <shiboken.h> #include <shiboken.h>

View file

@ -28,7 +28,7 @@
#include <QStringList> #include <QStringList>
#include <pysidemacros.h> #include <pysidemacros.h>
#include <Python.h> #include <sbkpython.h>
extern "C" extern "C"
{ {

View file

@ -23,7 +23,7 @@
#ifndef PYSIDE_METAFUNCTION_P_H #ifndef PYSIDE_METAFUNCTION_P_H
#define PYSIDE_METAFUNCTION_P_H #define PYSIDE_METAFUNCTION_P_H
#include <Python.h> #include <sbkpython.h>
namespace PySide { namespace MetaFunction { namespace PySide { namespace MetaFunction {

View file

@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <Python.h> #include <sbkpython.h>
#include "pysideproperty.h" #include "pysideproperty.h"
#include "pysideproperty_p.h" #include "pysideproperty_p.h"
#include "dynamicqmetaobject_p.h" #include "dynamicqmetaobject_p.h"

View file

@ -24,7 +24,7 @@
#define PYSIDE_PROPERTY_H #define PYSIDE_PROPERTY_H
#include <pysidemacros.h> #include <pysidemacros.h>
#include <Python.h> #include <sbkpython.h>
#include <QObject> #include <QObject>
extern "C" extern "C"

View file

@ -23,7 +23,7 @@
#ifndef PYSIDE_QPROPERTY_P_H #ifndef PYSIDE_QPROPERTY_P_H
#define PYSIDE_QPROPERTY_P_H #define PYSIDE_QPROPERTY_P_H
#include <Python.h> #include <sbkpython.h>
#include <QMetaObject> #include <QMetaObject>
#include "pysideproperty.h" #include "pysideproperty.h"

View file

@ -23,7 +23,7 @@
#ifndef PYSIDE_QFLAGS_H #ifndef PYSIDE_QFLAGS_H
#define PYSIDE_QFLAGS_H #define PYSIDE_QFLAGS_H
#include <Python.h> #include <sbkpython.h>
#include <pysidemacros.h> #include <pysidemacros.h>

View file

@ -19,7 +19,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <Python.h> #include <sbkpython.h>
#include "pysidesignal.h" #include "pysidesignal.h"
#include "pysidesignal_p.h" #include "pysidesignal_p.h"
#include "signalmanager.h" #include "signalmanager.h"

View file

@ -28,7 +28,7 @@
#include <QStringList> #include <QStringList>
#include <pysidemacros.h> #include <pysidemacros.h>
#include <Python.h> #include <sbkpython.h>
#include <basewrapper.h> #include <basewrapper.h>
extern "C" extern "C"

View file

@ -23,7 +23,7 @@
#ifndef PYSIDE_QSIGNAL_P_H #ifndef PYSIDE_QSIGNAL_P_H
#define PYSIDE_QSIGNAL_P_H #define PYSIDE_QSIGNAL_P_H
#include <Python.h> #include <sbkpython.h>
extern "C" extern "C"
{ {

View file

@ -22,7 +22,7 @@
#ifndef PYSIDE_SLOT_P_H #ifndef PYSIDE_SLOT_P_H
#define PYSIDE_SLOT_P_H #define PYSIDE_SLOT_P_H
#include <Python.h> #include <sbkpython.h>
#define PYSIDE_SLOT_LIST_ATTR "_slots" #define PYSIDE_SLOT_LIST_ATTR "_slots"
namespace PySide { namespace Slot { namespace PySide { namespace Slot {

View file

@ -1,6 +1,6 @@
#include "pysideweakref.h" #include "pysideweakref.h"
#include <Python.h> #include <sbkpython.h>
typedef struct { typedef struct {
PyObject_HEAD PyObject_HEAD

View file

@ -2,7 +2,7 @@
#define __PYSIDEWEAKREF__ #define __PYSIDEWEAKREF__
#include <pysidemacros.h> #include <pysidemacros.h>
#include <Python.h> #include <sbkpython.h>
typedef void (*PySideWeakRefFunction)(void* userData); typedef void (*PySideWeakRefFunction)(void* userData);

View file

@ -24,7 +24,7 @@
#define SIGNALMANAGER_H #define SIGNALMANAGER_H
#include "pysidemacros.h" #include "pysidemacros.h"
#include <Python.h> #include <sbkpython.h>
#include <Qt> #include <Qt>
#include <QStringList> #include <QStringList>
#include <QMetaMethod> #include <QMetaMethod>