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. How to set code hints for qtcreator ?
Forum Updated to NodeBB v4.3 + New Features

How to set code hints for qtcreator ?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 462 Views 1 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.
  • L Offline
    L Offline
    laine
    wrote on 14 Mar 2020, 10:57 last edited by
    #1

    I am using qtcreator 5.10.2 on Ubuntu 18.04.
    Qtcreator gives me code hints for code that doestnot have errors.

    As shown below
    Screenshot from 2020-03-14 18-53-51.png

    How could I set proper code check options to disable such wrong code check mechanism ?

    J 1 Reply Last reply 16 Mar 2020, 06:15
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 14 Mar 2020, 15:25 last edited by
      #2

      Hi
      You can disable it if it has issues with your code.
      https://forum.qt.io/topic/100762/qt-creator-clang-code-model-problems-collection

      Go to menu
      Help > About Plugins then look for Clang Code Model. and uncheck it.
      Restart Creator.

      L 1 Reply Last reply 15 Mar 2020, 03:01
      1
      • M mrjj
        14 Mar 2020, 15:25

        Hi
        You can disable it if it has issues with your code.
        https://forum.qt.io/topic/100762/qt-creator-clang-code-model-problems-collection

        Go to menu
        Help > About Plugins then look for Clang Code Model. and uncheck it.
        Restart Creator.

        L Offline
        L Offline
        laine
        wrote on 15 Mar 2020, 03:01 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • L laine
          14 Mar 2020, 10:57

          I am using qtcreator 5.10.2 on Ubuntu 18.04.
          Qtcreator gives me code hints for code that doestnot have errors.

          As shown below
          Screenshot from 2020-03-14 18-53-51.png

          How could I set proper code check options to disable such wrong code check mechanism ?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 16 Mar 2020, 06:15 last edited by
          #4

          @laine said in How to set code hints for qtcreator ?:

          I am using qtcreator 5.10.2

          No, you don't. There is no such QtCreator version. That is Qt version.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          1/4

          14 Mar 2020, 10:57

          • Login

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