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.
  • B Offline
    B Offline
    bogong
    wrote on 6 Mar 2019, 08:11 last edited by bogong 3 Jun 2019, 08:12
    #1

    Hello all!
    I am using Qt Creator on MacOS. I have this strange behaviour when I am including files into project (see screenshot). Auto complete is duplicating directories. How to fix it?

    0_1551859859456_Screen Shot 2019-03-06 at 11.06.17.png

    0_1551859937431_Screen Shot 2019-03-06 at 11.11.51.png

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 6 Mar 2019, 20:11 last edited by
      #2

      Hi,

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

      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 12 Mar 2019, 10:02
      0
      • G Offline
        G Offline
        Gerhard
        wrote on 6 Mar 2019, 21:01 last edited by
        #3

        Is ../XXXXXX/sources the current parh ?

        Gerhard

        B 1 Reply Last reply 20 Mar 2019, 13:22
        0
        • S SGaist
          6 Mar 2019, 20:11

          Hi,

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

          B Offline
          B Offline
          bogong
          wrote on 12 Mar 2019, 10:02 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
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 13 Mar 2019, 22:47 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 20 Mar 2019, 13:21
            0
            • S SGaist
              13 Mar 2019, 22:47

              Did you check with the next beta ?

              B Offline
              B Offline
              bogong
              wrote on 20 Mar 2019, 13:21 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
              • G Gerhard
                6 Mar 2019, 21:01

                Is ../XXXXXX/sources the current parh ?

                B Offline
                B Offline
                bogong
                wrote on 20 Mar 2019, 13:22 last edited by
                #7

                @Gerhard What does it mean?

                J 1 Reply Last reply 20 Mar 2019, 13:30
                0
                • B bogong
                  20 Mar 2019, 13:22

                  @Gerhard What does it mean?

                  J Offline
                  J Offline
                  J.Hilk
                  Moderators
                  wrote on 20 Mar 2019, 13:30 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 22 Mar 2019, 09:31
                  4
                  • J J.Hilk
                    20 Mar 2019, 13:30

                    @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 22 Mar 2019, 09:31 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 J.Hilk
                      20 Mar 2019, 13:30

                      @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 22 Mar 2019, 09:42 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 J.Hilk
                        20 Mar 2019, 13:30

                        @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 29 Mar 2019, 07:19 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 J.Hilk
                          20 Mar 2019, 13:30

                          @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 29 Mar 2019, 07:37 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 J.Hilk
                            20 Mar 2019, 13:30

                            @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 29 Mar 2019, 08:00 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 1 Reply Last reply 29 Mar 2019, 09:23
                            0
                            • B bogong
                              29 Mar 2019, 08:00

                              @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 Offline
                              J Offline
                              J.Hilk
                              Moderators
                              wrote on 29 Mar 2019, 09:23 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

                              8/14

                              20 Mar 2019, 13:30

                              • Login

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