Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Qt Creator parse all qml files when program start to run

    Tools
    2
    3
    489
    Loading More Posts
    • 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.
    • Q
      QiFen last edited by

      When I run my application(Ctrl + R), qt creator will re-parsing all my qml files again and again.

      Cause my project is too large, when Creator is parsing all file, it will consume 3GB RAM and 30% CPU(I7 8k series).

      So Creator will stop response about 2 mins when I try to run my program...

      I through all options, I cannot find any option to stop this behavior.

      How can I stop Creator to re-parse my file when program start to run?

      or where is the logic in qt creator source code? I can build Qt Creator myself.

      Thanks!!

      1 Reply Last reply Reply Quote 0
      • Q
        QiFen last edited by

        https://bugreports.qt.io/browse/QTBUG-56150

        I found the root cause here.

        K 1 Reply Last reply Reply Quote 0
        • K
          koahnig @QiFen last edited by

          @QiFen

          Thanks for sharing

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post