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. Qt Creator slow to open large files
Forum Updated to NodeBB v4.3 + New Features

Qt Creator slow to open large files

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 641 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
    Harjit
    wrote on last edited by
    #1

    Qt Creator 4.10.1 on Windows on an i5-8400

    I compiled a code base of approximately 100 files and it had a lot of issues. So, I went to Compile Output and copied it to the clipboard, created a scratch buffer and pasted the output in.

    The buffer was around 50,000 lines.

    Searching it was incredibly slow - it took seconds to enter the search text and for Qt Creator to find it.

    I'm guessing Qt Creator was building up an internal representation but it shouldn't be this slow. Is there a way to tell it to not parse the text and treat it as text?

    I took the output and disassembled it and it gave me a 130k lines and loading that and searching it was very, very slow - many seconds.

    To make sure I wasn't crazy, I repeated this in Visual Studio 2019, Community Edition and it these tasks were instantaneous.

    aha_1980A 1 Reply Last reply
    0
    • H Harjit

      Qt Creator 4.10.1 on Windows on an i5-8400

      I compiled a code base of approximately 100 files and it had a lot of issues. So, I went to Compile Output and copied it to the clipboard, created a scratch buffer and pasted the output in.

      The buffer was around 50,000 lines.

      Searching it was incredibly slow - it took seconds to enter the search text and for Qt Creator to find it.

      I'm guessing Qt Creator was building up an internal representation but it shouldn't be this slow. Is there a way to tell it to not parse the text and treat it as text?

      I took the output and disassembled it and it gave me a 130k lines and loading that and searching it was very, very slow - many seconds.

      To make sure I wasn't crazy, I repeated this in Visual Studio 2019, Community Edition and it these tasks were instantaneous.

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

      Hi @Harjit,

      no direct solution to your problem, but you can search, filter and even edit! the Compile Output, so no need to copy&paste the contents.

      Regards

      Qt has to stay free or it will die.

      H 1 Reply Last reply
      0
      • aha_1980A aha_1980

        Hi @Harjit,

        no direct solution to your problem, but you can search, filter and even edit! the Compile Output, so no need to copy&paste the contents.

        Regards

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

        @aha_1980 The challenge I have with doing things in the Compile Output pane is that if I click in the pane, it takes me to the offending line. So, searching isn't feasible.

        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