Using high cpu Qt creator in editor

Even in simple applications (as simple as a QWidgets application made from a wizard) qtcreator.exe multiplies by 50% (1 core) every time the code is edited. It looks like it is analyzing the entire project even after a few new characters it is typed on, making it unresponsive and unusable at some point.

It gets worse with the size of the project, so adding a few cpp / h modules with a dozen classes makes people nervous.

The same project works flawlessly in Qt under debian, su, I assume it is connected to WinXP_x86. There is no way to check if it exhibits the same behavior in Win7.

It's a common case (I don't see any complaints about this on the internet, so I guess it doesn't), can it be completely fixed or can it be parsed to "parse on save" or something like that kind?


update: Qt Creator running on Win7 also doesn't show this behavior, so definitely a WinXP related issue

+3


source to share


1 answer


Removing the parameter Options -> C++ -> Code model -> Ignore pre-compiled headers

(set by default) seems to fix the problem - code completion and parsing are slick. I don't use PCH in my projects explicitly, so I don't know if that affects its intended performance goal.



+3


source







All Articles