Orochimarufan / PythonQt

PythonQt fork featuring Qt 5.x and Python 3.x support and improved CMake build system
GNU Lesser General Public License v2.1
48 stars 20 forks source link

Fix build for 5.10 and rearrange headers #19

Open iltommi opened 6 years ago

iltommi commented 6 years ago

The headers are rearranged to have the Python.h header included stl or Qt (quoting from https://docs.python.org/2/c-api/intro.html)

Since Python may define some pre-processor definitions which affect the standard headers on some systems, you must include Python.h before any standard headers are included.