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.8.0 disable some clazy checks
QtWS25 Last Chance

Qt Creator 4.8.0 disable some clazy checks

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 4 Posters 2.1k 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.
  • A Offline
    A Offline
    abarmotov
    wrote on 25 Dec 2018, 12:40 last edited by
    #1

    Hi !
    How to disable in creator some clazy checks, for example "non-pod-global-static" ?
    Current level is "Level 1"
    Ubuntu 16.04

    K 1 Reply Last reply 26 Dec 2018, 10:02
    0
    • A abarmotov
      25 Dec 2018, 12:40

      Hi !
      How to disable in creator some clazy checks, for example "non-pod-global-static" ?
      Current level is "Level 1"
      Ubuntu 16.04

      K Offline
      K Offline
      koahnig
      wrote on 26 Dec 2018, 10:02 last edited by
      #2

      @abarmotov

      I guess you mean the clang code model checks. They are explained in here

      Vote the answer(s) that helped you to solve your issue(s)

      A 1 Reply Last reply 26 Dec 2018, 10:06
      0
      • K koahnig
        26 Dec 2018, 10:02

        @abarmotov

        I guess you mean the clang code model checks. They are explained in here

        A Offline
        A Offline
        abarmotov
        wrote on 26 Dec 2018, 10:06 last edited by
        #3

        @koahnig not clang, but clazy

        yes, i can disable some cheks in "clang", but cant in "clazy"

        K 1 Reply Last reply 26 Dec 2018, 10:10
        0
        • A abarmotov
          26 Dec 2018, 10:06

          @koahnig not clang, but clazy

          yes, i can disable some cheks in "clang", but cant in "clazy"

          K Offline
          K Offline
          koahnig
          wrote on 26 Dec 2018, 10:10 last edited by
          #4

          @abarmotov

          Ahh. Was interpreting this as a typing error :D

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Tatsujin
            wrote on 23 Jan 2022, 17:06 last edited by Tatsujin
            #5

            Late as usual to the party, but I ran into this as well just now and there's still no good resources on the 'net that I could find.

            I managed to disable checks by running Tools > C++ > Analyze Current File. This opens a "Clang-tidy and Clazy" panel at the bottom. In the check diagnostics that show up (after it has run the analysis), it's possible to right-click and select "Disable This Check". So far, this seems to have solved it.

            This is in Qt Creator 6.0.1.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kkoehne
              Moderators
              wrote on 24 Jan 2022, 07:33 last edited by
              #6

              You can also tweak things globally in Options dialog, Analyzer > Run Options > Clazy Checks:

              2e3a5e92-81c2-48f3-8d5a-4f1ed8824e65-grafik.png

              Director R&D, The Qt Company

              1 Reply Last reply
              1

              • Login

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