Go to the documentation of this file.
33#ifndef __PythonQtPythonInclude_h
34#define __PythonQtPythonInclude_h
38# undef _POSIX_C_SOURCE
48#define PYTHONQT_RESTORE_KEYWORDS
54# if defined(__MINGW32__)
74#if defined(PYTHONQT_USE_RELEASE_PYTHON_FALLBACK) && defined(_DEBUG)
75# define PYTHONQT_UNDEF_DEBUG
96# if defined(_MSC_VER) && _MSC_VER >= 1400
97# define _CRT_NOFORCE_MANIFEST 1
98# define _STL_NOFORCE_MANIFEST 1
104#ifdef PYTHONQT_UNDEF_DEBUG
115#ifdef PYTHONQT_RESTORE_KEYWORDS
117#undef PYTHONQT_RESTORE_KEYWORDS
120#if PY_MAJOR_VERSION < 3
121#error "PythonQt requires Python >= 3.x"
126#if defined(PYTHONQT_USE_PYSTRING_SHIM)
128#define PyString_FromString PyUnicode_FromString
135#if defined(_PY_PORT_CTYPE_UTF8_ISSUE) && defined(__cplusplus)