Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Automatic syntax check in Qt Creator
Forum Update on Monday, May 27th 2025

Automatic syntax check in Qt Creator

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.0k Views
  • 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.
  • H Offline
    H Offline
    Hypergeek
    wrote on 2 Apr 2020, 13:45 last edited by Hypergeek 4 Feb 2020, 14:44
    #1

    Is there any way to turn off auto syntax checking, and to do it only on command? Because not only is it distracting, for example, when you edit some kind of structure (and, of course, it spills with “errors” until you finish), it’s also buggy: often there are some “mistakes” (red circles) remain, when in fact they are gone. That is, I launch it - everything compiles fine. And if before this I reset the error messages - then red circles disappears and no longer show. Obvious glitch. It appears even in the simplest files in 10 lines.

    The latest version. How to disable - I have not found it anywhere. Please do not advise to change to clang code model, it's not what I need.

    A 1 Reply Last reply 2 Apr 2020, 19:25
    0
    • H Hypergeek
      2 Apr 2020, 13:45

      Is there any way to turn off auto syntax checking, and to do it only on command? Because not only is it distracting, for example, when you edit some kind of structure (and, of course, it spills with “errors” until you finish), it’s also buggy: often there are some “mistakes” (red circles) remain, when in fact they are gone. That is, I launch it - everything compiles fine. And if before this I reset the error messages - then red circles disappears and no longer show. Obvious glitch. It appears even in the simplest files in 10 lines.

      The latest version. How to disable - I have not found it anywhere. Please do not advise to change to clang code model, it's not what I need.

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 2 Apr 2020, 19:25 last edited by
      #2

      @Hypergeek

      Help > Plugins > Uncheck Clang Code Model > Ok > Restart Creator.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • H Offline
        H Offline
        Hypergeek
        wrote on 11 Apr 2020, 13:14 last edited by
        #3

        Thanks, this seems to be what I need. But in this case, how to simply check syntax and compile, without building or running? Debug -> Analyze current file ?

        M 1 Reply Last reply 11 Apr 2020, 13:39
        0
        • H Hypergeek
          11 Apr 2020, 13:14

          Thanks, this seems to be what I need. But in this case, how to simply check syntax and compile, without building or running? Debug -> Analyze current file ?

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 11 Apr 2020, 13:39 last edited by
          #4

          @Hypergeek
          Hi
          It should provide syntax highlighting and auto-completion on the fly. ( with the build-in module since you disable the plugin)

          but to really check syntax you must build file
          alt text

          1 Reply Last reply
          2

          • Login

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