QT Creator slow performance on ubuntu
-
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
-
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:-)
-
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
-
farakon: Please update to Qt 4.7.1. There are known performance issues with Qt 4.7 (see the release notes).
-
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 ?