imho, this should be changed in boost. They cannot use a variable
name that is a "keyword" in such a widely used C++ environment
as Qt.


Am 29.09.2016 um 08:51 schrieb Thiago Macieira:
> 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)
>

-- 


Viktor Engelmann
Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
viktor.engelm...@qt.io
+49 151 26784521
http://qt.io

Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B
<http://qt.io>
<http://www.facebook.com/Qt>    <http://www.twitter.com/qtproject>
<https://www.linkedin.com/company/the-qt-company/>
<https://plus.google.com/104580575722059274792>
<https://www.youtube.com/QtStudios>

Qt World Summit 2016 <http://qtworldsummit.com/>
Qt World Summit 2016 | Pier 27, San Francisco, CA
Experience Exponential Potential on October 18-20
www.qtworldsummit.com <http://www.qtworldsummit.com>

<<attachment: viktor_engelmann.vcf>>

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

Reply via email to