Qt Creator indexing/parsing
-
Hi,
Just started using Qt Creator which I find to be significantly better than CodeLite I have been using for many years. However, there is a couple of things that I wish it had. Actually, if I understand how it works correctly, one should take care of the other:
- An option to place the result of indexing/parsing C/C++ in either local storage or memory.
- An ability to not having to parse/re-index every time a project is open.
Basically, if it's possible to do 1, then 2 is moot. The code base I work in is huge and I often have 3 instances of Qt Creator open, each with a different project. Initially, I was quite surprised to see the memory footprint of each over 20GB. After a bit of researching, I turned off Code Analyzer plugins to reduce the memory usage, but still, it's difficult to open up two projects simultaneously even on a system with 64GB of system memory. As far as I can tell, there isn't an ability for what I am looking for in Qt Creator. Does anyone know if there is or any plans for such?
-
Hi,
Just started using Qt Creator which I find to be significantly better than CodeLite I have been using for many years. However, there is a couple of things that I wish it had. Actually, if I understand how it works correctly, one should take care of the other:
- An option to place the result of indexing/parsing C/C++ in either local storage or memory.
- An ability to not having to parse/re-index every time a project is open.
Basically, if it's possible to do 1, then 2 is moot. The code base I work in is huge and I often have 3 instances of Qt Creator open, each with a different project. Initially, I was quite surprised to see the memory footprint of each over 20GB. After a bit of researching, I turned off Code Analyzer plugins to reduce the memory usage, but still, it's difficult to open up two projects simultaneously even on a system with 64GB of system memory. As far as I can tell, there isn't an ability for what I am looking for in Qt Creator. Does anyone know if there is or any plans for such?
@tkdojo said in Qt Creator indexing/parsing:
The code base I work in is huge and I often have 3 instances of Qt Creator open, each with a different project.
Why do you open the whole project? Run qmake on the top project from the command line, as to get the
Makefiles
for the subprojects, and then load only the sub-projects'.pro
files. To configure them for building useImport build
with the correct path to theMakefile
. -
Hi,
Thanks for a quick response. Regarding your suggestion, I am afraid that is not possible with the way the code base is set up. Plus, I might have used the term, 'project' incorrectly. I didn't mean it as a project in the context of IDE, but a general project that I work on, of which there are multiple at any given time and share the code base.