
Feb. 25, 2013
12:22 p.m.
Hello,
I try to embed Python into Qt application but when I add
#include <Python.h>
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...
4377
Age (days ago)
4377
Last active (days ago)
0 comments
1 participants
participants (1)
-
ecir hana