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 performance on ubuntu

QT Creator slow performance on ubuntu

Scheduled Pinned Locked Moved Qt Creator and other tools
12 Posts 8 Posters 10.5k 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.
  • T Offline
    T Offline
    tobias.hunger
    wrote on last edited by
    #2

    Creator is really snappy for me on Ubuntu...

    For code completion we need to take in account all the code that is in your file. This includes all the headers you use (and those that are included by those, etc.). So what are you including? Can you trim down the number of include statements or use less generic headers (like QtGui/QWidget instead of QtGui)? If that is an option then compile times would also decrease a lot:-)

    1 Reply Last reply
    0
    • F Offline
      F Offline
      farakon
      wrote on last edited by
      #3

      Hmm, for me it is not the case now, but it is still my favourite. However the performance problem seems to happen when I press the enter key and it needs to create a new line: it would become very slugish when a file exceeds 500 lines of code (I don't have a lot of includes: common iostream, vector, string and map). Maybe it is the rendering that is bad and something is wrong with QT 4.7. Please note that I am using a very simple theme with no compositing and metacity.

      My system is:

      Intel Core2 Duo 2GHz, 2Gb RAM
      Nvidia 8400G 128M RAM and 260.19.06 driver.

      So can you please tell me how to make QT Creator usuable again ?

      Thanks

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Duck
        wrote on last edited by
        #4

        What version of Qt is that? If that's 4.7.0 try 4.7.1.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Scylla
          wrote on last edited by
          #5

          I'm using the Qt Creator on a Ubuntu virtual machine and it is not slow at all! I'm using the Qt SDK that means Qt 4.7.0 but the Qt Creator RC!

          1 Reply Last reply
          0
          • F Offline
            F Offline
            farakon
            wrote on last edited by
            #6

            I am using QT 4.7; I have tried QT Creator 2.1 RC, seems to be a little better but not noticeably better!

            Are there any performance enhancement with QT 4.7.1 ?

            1 Reply Last reply
            0
            • F Offline
              F Offline
              fcrochik
              wrote on last edited by
              #7

              I have used Qt creator on ubuntu 9 and did not notice any problems.

              Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #8

                farakon: Please update to Qt 4.7.1. There are known performance issues with Qt 4.7 (see the release notes).

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  farakon
                  wrote on last edited by
                  #9

                  To those having the same problem, I restart QT creator with:

                  qtcreator -graphicssystem raster

                  QT creator becomes as responsive as it was before. So hope it helps.

                  I wonder why the raster is faster than the native system, I have read the blog, so the question why not make it by default ?

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    vialrogo
                    wrote on last edited by
                    #10

                    Thanks @farakon, it's just that i needed. QtCreator was very slow when i moved the cursor with the keyboard, it leave a "shadow". Now it run fine.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dimix
                      wrote on last edited by
                      #11

                      Thanks @farakon as well. I was having the same problem (text cursor not very responsive) and it was solved with the -graphicssystem raster switch.

                      http://physion.net

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        TobbY
                        wrote on last edited by
                        #12

                        i am also using qt on ubuntu 10.10 , it works complitely fine on my laptop.

                        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