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. clang static analyzer has errors
Forum Updated to NodeBB v4.3 + New Features

clang static analyzer has errors

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 4 Posters 1.8k 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.
  • M Offline
    M Offline
    MasterBlade
    wrote on last edited by
    #1

    Hello I was using Qt Creator 4.6.1 and then upgraded it to 4.7.0 with overwrite.

    But every time I start Qt Creator an error message shows up saying that a plugin 'clang static analyzer' has an error. It seems to be still the old version. Is there a way to upgrade it as well?

    Could not resolve dependency 'Debugger(4.6.1)'
    Could not resolve dependency 'CppTools(4.6.1)'
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      How did you install Qt Creator ? On what OS ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        How did you install Qt Creator ? On what OS ?

        M Offline
        M Offline
        MasterBlade
        wrote on last edited by
        #3

        @SGaist said in clang static analyzer has errors:

        Hi,

        How did you install Qt Creator ? On what OS ?

        I first installed Qt with an online installer, then Qt Creator from like an FTP server of qt.io.
        It's installed to Windows 10 Pro x64

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          So only Qt Creator ? Or using the online installer which also provide the Qt framework ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          1
          • SGaistS SGaist

            So only Qt Creator ? Or using the online installer which also provide the Qt framework ?

            M Offline
            M Offline
            MasterBlade
            wrote on last edited by
            #5

            @SGaist said in clang static analyzer has errors:

            So only Qt Creator ? Or using the online installer which also provide the Qt framework ?

            Of course the online installer, a full installation. But the Qt Creator provided in that installer is version 4.6.1 and I upgraded it to 4.7.0. That might be cause of the problems.

            aha_1980A 1 Reply Last reply
            0
            • M MasterBlade

              @SGaist said in clang static analyzer has errors:

              So only Qt Creator ? Or using the online installer which also provide the Qt framework ?

              Of course the online installer, a full installation. But the Qt Creator provided in that installer is version 4.6.1 and I upgraded it to 4.7.0. That might be cause of the problems.

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

              @MasterBlade but how did you upgrade?

              Qt has to stay free or it will die.

              M 1 Reply Last reply
              0
              • aha_1980A aha_1980

                @MasterBlade but how did you upgrade?

                M Offline
                M Offline
                MasterBlade
                wrote on last edited by
                #7

                @aha_1980 said in clang static analyzer has errors:

                @MasterBlade but how did you upgrade?

                by downloading Qt Creator from qt.io, and install (overwrite) it to C:\Qt\Tools\QtCreator

                jsulmJ 1 Reply Last reply
                0
                • M MasterBlade

                  @aha_1980 said in clang static analyzer has errors:

                  @MasterBlade but how did you upgrade?

                  by downloading Qt Creator from qt.io, and install (overwrite) it to C:\Qt\Tools\QtCreator

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @MasterBlade You should rather use Qt Maintenance Tool for that.

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

                  M 1 Reply Last reply
                  1
                  • jsulmJ jsulm

                    @MasterBlade You should rather use Qt Maintenance Tool for that.

                    M Offline
                    M Offline
                    MasterBlade
                    wrote on last edited by
                    #9

                    @jsulm said in clang static analyzer has errors:

                    @MasterBlade You should rather use Qt Maintenance Tool for that.

                    Yes I tried but there is only a RC version 4.7.1 available. I don't want to try an RC version so I downloaded a stable one from qt.io.

                    jsulmJ aha_1980A 2 Replies Last reply
                    0
                    • M MasterBlade

                      @jsulm said in clang static analyzer has errors:

                      @MasterBlade You should rather use Qt Maintenance Tool for that.

                      Yes I tried but there is only a RC version 4.7.1 available. I don't want to try an RC version so I downloaded a stable one from qt.io.

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @MasterBlade There is 4.7.0 in maintenance tool (under Qt/Tools)

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

                      M 1 Reply Last reply
                      0
                      • M MasterBlade

                        @jsulm said in clang static analyzer has errors:

                        @MasterBlade You should rather use Qt Maintenance Tool for that.

                        Yes I tried but there is only a RC version 4.7.1 available. I don't want to try an RC version so I downloaded a stable one from qt.io.

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

                        @MasterBlade

                        As @jsulm says, the Maintenance Tool is the best, as it sets up all Qt versions in Creators Kits settings, etc.

                        But you can install other Creator versions in parallel, i.e. in a separate directory. The installer already suggests a directory "qtcreator-4.7.0", which you should accept.

                        I have done it like this multiple times and it just worked.

                        Regards

                        Qt has to stay free or it will die.

                        1 Reply Last reply
                        1
                        • jsulmJ jsulm

                          @MasterBlade There is 4.7.0 in maintenance tool (under Qt/Tools)

                          M Offline
                          M Offline
                          MasterBlade
                          wrote on last edited by
                          #12

                          @jsulm said in clang static analyzer has errors:

                          @MasterBlade There is 4.7.0 in maintenance tool (under Qt/Tools)

                          Oh I found it when I choose 'Update components'. in maintenance tool. I was always using 'Add or remove components'. That's why I never found it.

                          Thanks for the help!

                          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