[capi-sig] Qt and Python
ecir hana
ecir.hana at gmail.com
Mon Feb 25 18:22:25 CET 2013
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...
More information about the capi-sig
mailing list