On quinta-feira, 29 de setembro de 2016 09:24:41 PDT Kapil Gupta wrote:
> /usr/include/python3.5m/object.h:445:23: error: expected unqualified-id
> before ‘;’ token
>      PyType_Slot *slots; /* terminated by slot==0. */

Hint: when the error message from the compiler makes no sense, check the 
preprocessed output.

In this case, "slots" is the problem. Qt uses that word to indicate slots, so 
it's #define'd to something.

Try this in your CMakeLists.txt:

add_definitions(-DQT_NO_KEYWORDS)

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to