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. Qt Creator 4.9.0 can't disable line annotations (ignores option)
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 4.9.0 can't disable line annotations (ignores option)

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 2.4k 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.
  • J Offline
    J Offline
    justyn
    wrote on last edited by
    #1

    No matter what I do in Tools->Options->Text Editor->Display, I can't seem to get rid of line annotations.

    I tried unchecking "line annotations" yet I'm still getting underlined warnings in the code as a result of the code model.

    I have the clang code model plugin disabled (when I tried it, I couldn't get it to disable erroneous warnings either, so I had to give up. Maybe that is a related problem?)

    Ubuntu 18.04
    Qt Creator about:
    Based on Qt 5.12.2 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)

    aha_1980A 1 Reply Last reply
    0
    • J justyn

      No matter what I do in Tools->Options->Text Editor->Display, I can't seem to get rid of line annotations.

      I tried unchecking "line annotations" yet I'm still getting underlined warnings in the code as a result of the code model.

      I have the clang code model plugin disabled (when I tried it, I couldn't get it to disable erroneous warnings either, so I had to give up. Maybe that is a related problem?)

      Ubuntu 18.04
      Qt Creator about:
      Based on Qt 5.12.2 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @justyn said in Qt Creator 4.9.0 can't disable line annotations (ignores option):

      No matter what I do in Tools->Options->Text Editor->Display, I can't seem to get rid of line annotations.

      I have the clang code model plugin disabled

      If you disable Clang, you may still get underlines from the Classic Code Model, but no annotations.

      Did you restart Creator after disabling Clang in Help > About Plugins > Clang Code Model? Also, if you have several Creator instances open, I recomment to close all except one before disabling the plugin.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        justyn
        wrote on last edited by
        #3

        Oh okay, I had considered the underlining to be a type of line annotation, apparently that is not the case.

        It is the underlining I have a problem with - I use a lot of designated initialisers in C, like this:

        struct foo_s bar = {
          .x = 1,
        };
        

        They all end up underlined with the warning: "expected token ;...."

        So there is no way to disable the underlining?

        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