On sábado, 7 de setembro de 2013 17:25:56, Mark wrote: > While trying to update my Qt build i got this nasty unexpected error: > http://paste.kde.org/p7c51188c/ > > Or rather, two other folks from #kde-devel had that. While i recompiled i > was welcomed by the same error.
Not a bug in Qt.
Look at the error message you're getting:
qjsonvalue.h:70:9: error: expected identifier before ‘int’
Bool = 0x1,
^
Why is it talking about "int" and pointing to "Bool"?
Answer: you #included <X11/xlib.h> and forgot to clean it up. It has a #define
Bool.
Since you're developing KDE software, this applies to you:
always include X11/xlib.h as late as possible
always include fixx11h.h after it
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
