Important: Please read the Qt Code of Conduct -

QtCreator weird syntax error highlight

  • Hi guys,

    after update to Qt Creator 3.4.x I noticed that, sometimes, I get a weird syntax error highlight in QtCreator Editor.


    the tooltip says "expected token `;` got `int`".
    The code builds and run correctly.

    If I change to a Qt typedent (like qint32) the highlight disappears


    I'm on OS X and this happens only on Qt Creator 3.4.x (yesterday I installed Qt 5.4.2 and Qt Creator 3.4.1 and the problem is still here)

    Is not a BIG problem; I only wondering if is a BUG or something in my settings.
    Some one knows if I can enable some Qt Creator logs to try to understand the problem?


    UPDATE: I created this Bug report

Log in to reply