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. Qt Creator strange behaviour. How to fix it?
QtWS25 Last Chance

Qt Creator strange behaviour. How to fix it?

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 4 Posters 3.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.
  • SGaistS SGaist

    Hi,

    Can you give a step by step procedure to trigger this ?

    B Offline
    B Offline
    bogong
    wrote on last edited by
    #4

    @SGaist There are nothing special in procedure. I am only adding the header file. Sometimes there are similar troubles but for the build menu (left bottom conner of Qt Creator window). The solution that is fixing it (troubles but for the build menu) - kill *.pro.user file and reconfigure whole project. But shortly after it's appearing again. After today I will try to catch how it happening.

    Today installed update for Qt Creator. The duplicating in "#include" still appeared.

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

      Did you check with the next beta ?

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

      B 1 Reply Last reply
      0
      • SGaistS SGaist

        Did you check with the next beta ?

        B Offline
        B Offline
        bogong
        wrote on last edited by
        #6

        @SGaist Not, I've not been checking beta. Just fully installed 5.12.2 - the same result.

        1 Reply Last reply
        0
        • GerhardG Gerhard

          Is ../XXXXXX/sources the current parh ?

          B Offline
          B Offline
          bogong
          wrote on last edited by
          #7

          @Gerhard What does it mean?

          J.HilkJ 1 Reply Last reply
          0
          • B bogong

            @Gerhard What does it mean?

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by J.Hilk
            #8

            @bogong Might be a long shot, but it wouldn't surprise me that much if it's the issue.

            Can you try disabling the clang code model and check if the issue goes away ?

            QtCreator-> help -> About Plugins->ClangCodeModel


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            B 5 Replies Last reply
            4
            • J.HilkJ J.Hilk

              @bogong Might be a long shot, but it wouldn't surprise me that much if it's the issue.

              Can you try disabling the clang code model and check if the issue goes away ?

              QtCreator-> help -> About Plugins->ClangCodeModel

              B Offline
              B Offline
              bogong
              wrote on last edited by bogong
              #9

              @J.Hilk I will do it today and reply.

              Beside all of it new portion of strange behaviour ...

              The highlighting ...
              0_1553246915292_Screen Shot 2019-03-22 at 12.25.11.png

              After updating onto 5.12.2 I've got this issue:

              • The highlighting sometimes without any reasons became broken and showing like on image;
              • The broken variables in other codes became unavailable and showing like undeclared or mistaken

              Only restart of Qt Creator fixing it. But in about hour it's happening again ...

              Sometimes this kind of behaviour switching me into "WTF" mode! :-) At this time I am happy about working alone because of a lot of uncensored terms :-)

              1 Reply Last reply
              0
              • J.HilkJ J.Hilk

                @bogong Might be a long shot, but it wouldn't surprise me that much if it's the issue.

                Can you try disabling the clang code model and check if the issue goes away ?

                QtCreator-> help -> About Plugins->ClangCodeModel

                B Offline
                B Offline
                bogong
                wrote on last edited by bogong
                #10

                @J.Hilk Just switched off QtCreator-> help -> About Plugins->ClangCodeModel The first issue became solved. All is OK with duplicating. The first impression of the switching off this plugin - QT Creator became working MUCH FASTER! It's working without unreasonable pauses.

                0_1553247706082_Screen Shot 2019-03-22 at 12.40.50.png

                But next portion of strange things above :-)

                1 Reply Last reply
                0
                • J.HilkJ J.Hilk

                  @bogong Might be a long shot, but it wouldn't surprise me that much if it's the issue.

                  Can you try disabling the clang code model and check if the issue goes away ?

                  QtCreator-> help -> About Plugins->ClangCodeModel

                  B Offline
                  B Offline
                  bogong
                  wrote on last edited by
                  #11

                  @J.Hilk Look on screenshot. I've got catching the problem!

                  0_1553843904420_Screen Shot 2019-03-29 at 10.17.44.png

                  The problem with duplicating kits appeared again. Only deleting *.user.pro and reconfiguring whole project solve it. I am not doing anything special.

                  1 Reply Last reply
                  0
                  • J.HilkJ J.Hilk

                    @bogong Might be a long shot, but it wouldn't surprise me that much if it's the issue.

                    Can you try disabling the clang code model and check if the issue goes away ?

                    QtCreator-> help -> About Plugins->ClangCodeModel

                    B Offline
                    B Offline
                    bogong
                    wrote on last edited by bogong
                    #12

                    @J.Hilk Just reconfigured again. Now problem hasn't been disappearing. In "Build&Run" still broken kits.

                    0_1553845015036_Screen Shot 2019-03-29 at 10.35.25.png

                    0_1553845123528_Screen Shot 2019-03-29 at 10.38.12.png

                    The button "Delete" in Kits inactive. I couldn't remove broken kits.

                    1_1553845267606_Screen Shot 2019-03-29 at 10.40.41.png

                    0_1553845267606_Screen Shot 2019-03-29 at 10.40.25.png

                    1 Reply Last reply
                    0
                    • J.HilkJ J.Hilk

                      @bogong Might be a long shot, but it wouldn't surprise me that much if it's the issue.

                      Can you try disabling the clang code model and check if the issue goes away ?

                      QtCreator-> help -> About Plugins->ClangCodeModel

                      B Offline
                      B Offline
                      bogong
                      wrote on last edited by bogong
                      #13

                      @J.Hilk After killing Qt Creator configs (~/.config/QtProject) and total reconfiguring - again OK.

                      This is the contain of the directory where located kits just after reconfiguring:

                      0_1553846306007_Screen Shot 2019-03-29 at 10.55.52.png

                      !!! AND THIS IS when it happening:

                      0_1553846334111_Screen Shot 2019-03-29 at 10.50.21.png

                      When I am working I do not change anything in settings. Just closing Qt Creator at evening time and when start it at morning having this kind of troubles (mean restart Qt Creator).

                      J.HilkJ 1 Reply Last reply
                      0
                      • B bogong

                        @J.Hilk After killing Qt Creator configs (~/.config/QtProject) and total reconfiguring - again OK.

                        This is the contain of the directory where located kits just after reconfiguring:

                        0_1553846306007_Screen Shot 2019-03-29 at 10.55.52.png

                        !!! AND THIS IS when it happening:

                        0_1553846334111_Screen Shot 2019-03-29 at 10.50.21.png

                        When I am working I do not change anything in settings. Just closing Qt Creator at evening time and when start it at morning having this kind of troubles (mean restart Qt Creator).

                        J.HilkJ Offline
                        J.HilkJ Offline
                        J.Hilk
                        Moderators
                        wrote on last edited by
                        #14

                        @bogong
                        I'm afraid, I don't have much experience with QtCreator and it's inner workings. I'm using it, and that's about it.

                        Maybe someone else has more insight on this. Or you take to the QtCreator mailing list. there are the developers active and they might be able to help you more.
                        https://lists.qt-project.org/listinfo/qt-creator

                        From personal experience, I can say, try completely uninstalling QtCreator and reinstall it. in 90% of all my issues that I had with it, were fixed that way.
                        Time consuming, I know :(


                        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                        Q: What's that?
                        A: It's blue light.
                        Q: What does it do?
                        A: It turns blue.

                        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