I try to embed Python into Qt application but when I add
at the top for working app, the compilation breaks with:
../sample/python3.3m/object.h:432:23: error: expected member name or
';' after declaration specifiers PyType_Slot *slots; /* terminated by slot==0. */ ~~~~~~~~~~~ ^
Please, does anyone know why this happens? I'm new to all this compilation stuff - could it be that Python defines the same names as Qt? Namely "slots"?
Qt uses "clang++", it that changes anything...