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. QtCreator Is Getting Slower...
Forum Updated to NodeBB v4.3 + New Features

QtCreator Is Getting Slower...

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 4 Posters 2.7k 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.
  • webzoidW Offline
    webzoidW Offline
    webzoid
    wrote on last edited by
    #1

    Has anyone else had issues with the speed of the editor in QtCreator as well as other features?

    I have an application which is probably ticking over 500+ source files and maybe 50,000 lines of code. Each time I open a source file, it takes minutes to rebuild the symbols drop down box for the current source file and autocomplete often just doesn't even bother to work. The Clang stuff doesn't seem to help with the speed either.

    For example, the current file I'm working on has nearly 1500 lines of code. The autocomplete just doesn't work on this file at all. I've closed it and re-opened the file, given QtCreator 3 minutes and I'm still waiting...

    I'm running on Windows 10, 3.3GHz x64 with 16.0GB of RAM. Older versions of QtCreator seem to run much more smoothly than the later versions (running 4.8.0).

    J.HilkJ K 2 Replies Last reply
    0
    • webzoidW webzoid

      Has anyone else had issues with the speed of the editor in QtCreator as well as other features?

      I have an application which is probably ticking over 500+ source files and maybe 50,000 lines of code. Each time I open a source file, it takes minutes to rebuild the symbols drop down box for the current source file and autocomplete often just doesn't even bother to work. The Clang stuff doesn't seem to help with the speed either.

      For example, the current file I'm working on has nearly 1500 lines of code. The autocomplete just doesn't work on this file at all. I've closed it and re-opened the file, given QtCreator 3 minutes and I'm still waiting...

      I'm running on Windows 10, 3.3GHz x64 with 16.0GB of RAM. Older versions of QtCreator seem to run much more smoothly than the later versions (running 4.8.0).

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

      @webzoid
      sadly that's the new clang code model, it's nice and "better" for smaller projects but falls apart - at the moment at least - in bigger projects/files.

      You can however disable it.

      Take a look at this thread, we discussed it there previously

      https://forum.qt.io/topic/96617/usability-of-qt-creator-s-clang-code-model/4


      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.

      webzoidW 1 Reply Last reply
      3
      • J.HilkJ J.Hilk

        @webzoid
        sadly that's the new clang code model, it's nice and "better" for smaller projects but falls apart - at the moment at least - in bigger projects/files.

        You can however disable it.

        Take a look at this thread, we discussed it there previously

        https://forum.qt.io/topic/96617/usability-of-qt-creator-s-clang-code-model/4

        webzoidW Offline
        webzoidW Offline
        webzoid
        wrote on last edited by
        #3

        @J.Hilk Ah, thanks - I was looking all over for the options to disable it. I completely forgot about the fact that it could be a plugin!

        I'm turning it off right now. Thank you!

        1 Reply Last reply
        0
        • webzoidW Offline
          webzoidW Offline
          webzoid
          wrote on last edited by
          #4

          @J-Hilk Instant speed improvements. The symbols + autocomplete came up within 5 seconds!!

          1 Reply Last reply
          0
          • webzoidW webzoid

            Has anyone else had issues with the speed of the editor in QtCreator as well as other features?

            I have an application which is probably ticking over 500+ source files and maybe 50,000 lines of code. Each time I open a source file, it takes minutes to rebuild the symbols drop down box for the current source file and autocomplete often just doesn't even bother to work. The Clang stuff doesn't seem to help with the speed either.

            For example, the current file I'm working on has nearly 1500 lines of code. The autocomplete just doesn't work on this file at all. I've closed it and re-opened the file, given QtCreator 3 minutes and I'm still waiting...

            I'm running on Windows 10, 3.3GHz x64 with 16.0GB of RAM. Older versions of QtCreator seem to run much more smoothly than the later versions (running 4.8.0).

            K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            @webzoid

            The clang code model is definitely slowing down creator. Did you try to switch off clang code model?

            I have a session with a couple of larger projects. That takes a while, but I can still tolerate. The machine runs apps 24/7 and I leave creator open. Never bothered to check the number of files nor code lines. However, with gut feelings I would say it is significantly smaller. autocomplete is useless for some time already.

            Windows 10 64bit I7 7700 3.60 GHz 32 GB RAM partly used by RAMdisks and creator 4.8.1.

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

            webzoidW aha_1980A 2 Replies Last reply
            2
            • K koahnig

              @webzoid

              The clang code model is definitely slowing down creator. Did you try to switch off clang code model?

              I have a session with a couple of larger projects. That takes a while, but I can still tolerate. The machine runs apps 24/7 and I leave creator open. Never bothered to check the number of files nor code lines. However, with gut feelings I would say it is significantly smaller. autocomplete is useless for some time already.

              Windows 10 64bit I7 7700 3.60 GHz 32 GB RAM partly used by RAMdisks and creator 4.8.1.

              webzoidW Offline
              webzoidW Offline
              webzoid
              wrote on last edited by
              #6

              @koahnig Yep, it definitely is. I've now disabled the Clang plugin and QtCreator is very usable again.

              1 Reply Last reply
              1
              • K koahnig

                @webzoid

                The clang code model is definitely slowing down creator. Did you try to switch off clang code model?

                I have a session with a couple of larger projects. That takes a while, but I can still tolerate. The machine runs apps 24/7 and I leave creator open. Never bothered to check the number of files nor code lines. However, with gut feelings I would say it is significantly smaller. autocomplete is useless for some time already.

                Windows 10 64bit I7 7700 3.60 GHz 32 GB RAM partly used by RAMdisks and creator 4.8.1.

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

                @koahnig

                This is my experience with Clang on Windows too. On Linux however, it is much faster. Just my gut feeling...

                Qt has to stay free or it will die.

                K 1 Reply Last reply
                1
                • aha_1980A aha_1980

                  @koahnig

                  This is my experience with Clang on Windows too. On Linux however, it is much faster. Just my gut feeling...

                  K Offline
                  K Offline
                  koahnig
                  wrote on last edited by
                  #8

                  @aha_1980

                  Unfortunately linux is only used for cross-compilation. Already using git on linux is triggering nightmares ;)

                  I would be willing to give clang code model some of my cores for parallel processing.

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

                  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