<div dir="ltr">Hi,<div>I'm finding this problem lately that has been annoying me more and more, little by little. When using KDev5, we don't get to process properly C++ files that include QT_BEGIN_NAMESPACE, which incidentally is most Qt code, it's a bit of a shame, for us ;).</div><div><br></div><div>I've tried to come up with a simple test case, maybe somebody can help shed some light to the issue:</div><div><br></div><div><div>#include <QtCore/qobjectdefs.h></div><div><br></div><div>QT_BEGIN_NAMESPACE</div><div>class QEvent;</div><div>QT_END_NAMESPACE</div><div><br></div><div>int main() { return 0; }<br></div></div><div><br></div><div>I have the feeling that there's a bit of a mess of files including each other and this is making the preprocessing go nuts at some point. The problem I'm getting is an "Unexpected token 'class'".</div><div><br></div><div>Do you guys also have the same error? Can somebody take a look into it? I'd be immensely thankful. :D</div><div><br></div><div>Aleix</div></div>