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. The program slowed down after the QT version upgrade.
Forum Updated to NodeBB v4.3 + New Features

The program slowed down after the QT version upgrade.

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
10 Posts 4 Posters 1.1k 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.
  • H Offline
    H Offline
    hyur
    wrote on last edited by
    #1

    I changed the version from QtCreator 4.10.1, Qt5.13.1 to QtCreator 7.0.1, Qt 6.2.3.
    (From revision ea829fa6d5 -> da16d778d5)
    In the past, I have never experienced slowness when typing in the code-editor not only during compilation but also during normal times, but after the update, the characters I wrote are input after 2-3 seconds, or in severe cases, 10 seconds later.

    I am using the source used in Qt5 as is in Qt6.

    give me an idea
    thank you

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

      Hi,

      You might be hitting an issue with the Clang code model. You can try to disable the corresponding plugin.

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

      H 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        You might be hitting an issue with the Clang code model. You can try to disable the corresponding plugin.

        H Offline
        H Offline
        hyur
        wrote on last edited by
        #3

        @SGaist
        Disabled Clang but still slow..

        JonBJ 1 Reply Last reply
        0
        • H hyur

          @SGaist
          Disabled Clang but still slow..

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @hyur
          That is surprising. I take it you exited and re-entered Creator after this change to make sure it took?

          • I would try running a top from a terminal. Is Creator perchance using lots of CPU time even when sitting idle?
          • If you start from just an int main() { }-type program, no file inclusions, is that still slow, or only on your full application?
          H 1 Reply Last reply
          0
          • JonBJ JonB

            @hyur
            That is surprising. I take it you exited and re-entered Creator after this change to make sure it took?

            • I would try running a top from a terminal. Is Creator perchance using lots of CPU time even when sitting idle?
            • If you start from just an int main() { }-type program, no file inclusions, is that still slow, or only on your full application?
            H Offline
            H Offline
            hyur
            wrote on last edited by hyur
            #5

            @JonB
            As I continue to use the program, the delay is reduced and the CPU usage is not high. But the problem still remains.

            I'm Korean, so I leave code comments in Korean.
            Typing in Korean causes more delay than English.
            This problem did not exist in QtCreator 4.10.1, but it is a problem in 7.0.1.
            It seems that the encoder of the code editor has changed as the version changes. Is there a way to use the encoder from 4.5.1?

            JonBJ 1 Reply Last reply
            1
            • H hyur

              @JonB
              As I continue to use the program, the delay is reduced and the CPU usage is not high. But the problem still remains.

              I'm Korean, so I leave code comments in Korean.
              Typing in Korean causes more delay than English.
              This problem did not exist in QtCreator 4.10.1, but it is a problem in 7.0.1.
              It seems that the encoder of the code editor has changed as the version changes. Is there a way to use the encoder from 4.5.1?

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #6

              @hyur
              You do not have to use Creator 7.x with Qt 6.x. I notice how many issues there are currently reported with Creator 7. You might consider "downgrading" to an earlier version (Creator 6? Creator 4?), seeing if that fixes your "lag" problem and checking that version still has enough support for whatever you are coding in Qt6.

              H 1 Reply Last reply
              0
              • JonBJ JonB

                @hyur
                You do not have to use Creator 7.x with Qt 6.x. I notice how many issues there are currently reported with Creator 7. You might consider "downgrading" to an earlier version (Creator 6? Creator 4?), seeing if that fixes your "lag" problem and checking that version still has enough support for whatever you are coding in Qt6.

                H Offline
                H Offline
                hyur
                wrote on last edited by
                #7

                @JonB
                When using Creator 4.10.1, the problem I'm having now didn't happen.
                I just want to fix a problem I'm having with Creator 7.x.

                Thanks for your attention to my question.
                I'll reply to this forum when I fix the problem!

                JonBJ 1 Reply Last reply
                0
                • H hyur

                  @JonB
                  When using Creator 4.10.1, the problem I'm having now didn't happen.
                  I just want to fix a problem I'm having with Creator 7.x.

                  Thanks for your attention to my question.
                  I'll reply to this forum when I fix the problem!

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by
                  #8

                  @hyur said in The program slowed down after the QT version upgrade.:

                  When using Creator 4.10.1, the problem I'm having now didn't happen.
                  I just want to fix a problem I'm having with Creator 7.x.

                  I know this from what you say. I am saying if it is not fixable with current Creator 7.x then maybe if it's important enough you should revert to an older Creator which does not have the issue.....

                  1 Reply Last reply
                  0
                  • cristian-adamC Offline
                    cristian-adamC Offline
                    cristian-adam
                    wrote on last edited by cristian-adam
                    #9

                    Qt Creator 7 uses Qt 6.
                    Qt Creator 4.10 uses Qt 5.

                    How does a Qt Creator 7 build using Qt 5 behave? You can get a binary from https://download.qt.io/snapshots/qtcreator_qt5/7.0/

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      hyur
                      wrote on last edited by
                      #10

                      @JonB @cristian-adam
                      It was an MSVC compiler problem.
                      Regarding Unicode, there was a part that did not match Creator.

                      This has been fixed and the typing delay is gone.

                      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