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 code-editor very very slow

QtCreator code-editor very very slow

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 4.9k 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.
  • Andy314A Offline
    Andy314A Offline
    Andy314
    wrote on last edited by aha_1980
    #1

    Hallo, I updated QtCreator from 3.6.1 to 4.10.0 .

    What a surprise, an instantan code checker is integrated in the editor. In general this is a very good idea, but it so slow that code writing is no more possible. 1-3 seconds for one character.

    Why is that so slow? What can I do ? How to disable the whole function ?

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

      Hi
      Yes its a bit taxing as it now uses a real compiler pr default.
      (it also offers better completion with templates and auto keyword)

      We have a thread about it
      https://forum.qt.io/topic/100762/qt-creator-clang-code-model-problems-collection

      you can simply disable the plugin and use the old way.

      However, normally it wont lag that much so just typing is also slow.

      alt text

      alt text

      and then restart creator.

      Andy314A 1 Reply Last reply
      3
      • mrjjM mrjj

        Hi
        Yes its a bit taxing as it now uses a real compiler pr default.
        (it also offers better completion with templates and auto keyword)

        We have a thread about it
        https://forum.qt.io/topic/100762/qt-creator-clang-code-model-problems-collection

        you can simply disable the plugin and use the old way.

        However, normally it wont lag that much so just typing is also slow.

        alt text

        alt text

        and then restart creator.

        Andy314A Offline
        Andy314A Offline
        Andy314
        wrote on last edited by
        #3

        Hi @mrjj, thank you for you help.
        Now, after round about 2 hour of testing, it works without any changings suddenly without no time lag . I dont know why - I will keep an eye on the effect.

        mrjjM 1 Reply Last reply
        0
        • Andy314A Andy314

          Hi @mrjj, thank you for you help.
          Now, after round about 2 hour of testing, it works without any changings suddenly without no time lag . I dont know why - I will keep an eye on the effect.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Andy314
          hi
          It seems to do some sort of indexing and that can take some time.
          I also experienced that suddenly it was quite fast after i left project open and getting
          coffee.

          JonBJ 1 Reply Last reply
          0
          • mrjjM mrjj

            @Andy314
            hi
            It seems to do some sort of indexing and that can take some time.
            I also experienced that suddenly it was quite fast after i left project open and getting
            coffee.

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

            @mrjj
            Yes, the code completer needs strong coffee to work properly.

            1 Reply Last reply
            2

            • Login

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