Qt Forum

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

    Qt Academy Launch in California!

    [problem found]Qt Creator slow on Mac v10.7 (Lion)

    General and Desktop
    4
    7
    3798
    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.
    • S
      stuartx last edited by

      I upgraded my iMac from OS X v10.6 to v10.7 (Lion) and installed the XCode v4.1.1. After this upgrade, my Qt Creator is noticeably slow when I opened my project in designer. It takes several seconds to see a widget is selected after clicking on it. The CPU usage for Qt Creator in the "top" output is always >80% even the designer window is not selected. By comparison, I copied my project to my Mac laptop, which is still running Mac OS v10.6 with XCode v3. The Qt Creator only uses 2% CPU when opened the project and leave the designer window untouched.

      Any boy has similar experience? Any way to fix the problem?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • S
        stuartx last edited by

        Just found a clue. The iMac's screen is much larger than my laptop. On the iMac the whole designer main window (1600x1000) is shown, which contains several hundred widgets. On the laptop, only partial main window (and less widgets) is shown. If I reduce the Qt Creator's window size on iMac to show only a part of the widgets in the designer, The CPU usage will drop. On laptop, if I scroll the designer window to show widgets concentrated area, the CPU usage will go up. Looks like showing more widgets will cause more CPU usage even the Qt Creator's window is not selected. Does Qt keep updating/painting the widgets?

        1 Reply Last reply Reply Quote 0
        • T
          tobias.hunger last edited by

          Did you file a "bug report":http://bugreports.qt.nokia.com/ about the issue?

          1 Reply Last reply Reply Quote 0
          • S
            stuartx last edited by

            It is the progress bars in the GUI costing the CPU cycles whenever their values are between 0 and 100.
            Created a bug.

            1 Reply Last reply Reply Quote 0
            • M
              mlong last edited by

              Can you post a link to the bug report?

              Software Engineer
              My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

              1 Reply Last reply Reply Quote 0
              • L
                loladiro last edited by

                I'm not stuartx, but:
                https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5785

                1 Reply Last reply Reply Quote 0
                • M
                  mlong last edited by

                  Thanks! Always useful to have a reference to the bug on the thread.

                  Software Engineer
                  My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

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