[SOLVED]Qt C++ App and embedded Python
-
Hi!
I'm embedding Python in my application, but I stumbled upon a problem.
slots is a reserved keyword by Qt.
But it's also used in one of the Python header files (object.h, line 433).@typedef struct{
const char* name;
int basicsize;
int itemsize;
int flags;
PyType_Slot slots; / terminated by slot==0. */
} PyType_Spec;@How can I get through this problem?
Seconds thing that I don't really get, is why is #define slots without value?Thanks in advance.
Regards,
JakeEDIT:
If it matters:
VS 2012 IDE.
MSVC 2010 compiler (I'm stuck with it because of some libraries).
Qt 5.1 for MSVC 2010 OpenGL version (provided ad qt-project downloads area)
Win 8 x64 OS -
Hi,
Have a look at "this":http://qt-project.org/doc/qt-4.8/signalsandslots.html#using-qt-with-3rd-party-signals-and-slots
Because it's one of the keywords used by moc to generate the magic that's behind Qt
-
Sorry I don't...
I have essentially used QtCreator has an IDE for Qt on windows.