Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator weird syntax error highlight
Qt 6.11 is out! See what's new in the release blog

QtCreator weird syntax error highlight

Scheduled Pinned Locked Moved Qt Creator and other tools
qtcreator
1 Posts 1 Posters 771 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mcosta
    wrote on last edited by mcosta
    #1

    Hi guys,

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

    Imgur

    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

    Imgur

    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?

    Thanks

    UPDATE: I created this Bug report

    Once your problem is solved don't forget to:

    • Mark the thread as SOLVED using the Topic Tool menu
    • Vote up the answer(s) that helped you to solve the issue

    You can embed images using (http://imgur.com/) or (http://postimage.org/)

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved