[SOLVED]Qt C++ App and embedded Python
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).
const char* name;
PyType_Slot slots; / terminated by slot==0. */
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.
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
Because it's one of the keywords used by moc to generate the magic that's behind Qt
I missed that.
Do you maybe know where this can be configured in VS?
Sorry I don't...
I have essentially used QtCreator has an IDE for Qt on windows.