QT Creator slow performance on ubuntu
-
wrote on 5 Jan 2011, 03:51 last edited by
Hi,
I wonder what is the cause to slow QT Creator performance on files with more than 1000 line of code on ubuntu ? I have deactivated all effects (not even anti aliasing). Note that, I am having this issue with both 2.0 and 2.1 version of QT Creator. Slowliness comes also from intellisence and seems related to the code edit window.
Any idea on how to improve that ?
Thanks
-
wrote on 5 Jan 2011, 09:27 last edited by
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:-)
-
wrote on 6 Jan 2011, 03:08 last edited by
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
-
wrote on 8 Jan 2011, 11:33 last edited by
What version of Qt is that? If that's 4.7.0 try 4.7.1.
-
wrote on 8 Jan 2011, 11:48 last edited by
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!
-
wrote on 10 Jan 2011, 02:12 last edited by
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 ?
-
wrote on 10 Jan 2011, 02:57 last edited by
I have used Qt creator on ubuntu 9 and did not notice any problems.
-
wrote on 10 Jan 2011, 09:51 last edited by
farakon: Please update to Qt 4.7.1. There are known performance issues with Qt 4.7 (see the release notes).
-
wrote on 13 Feb 2011, 16:04 last edited by
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 ?
-
wrote on 8 Jul 2011, 04:12 last edited by
i am also using qt on ubuntu 10.10 , it works complitely fine on my laptop.