[Qt-creator] C/C++ parser and "pre-included" headers

André Hartmann andre.hartmann at iseg-hv.de
Mon Apr 8 08:26:25 CEST 2013


regarding your Include-File: every Generic Project has a Project.config 
file, in which you can add defines for Qt Creator.

Maybe there is a chance to let this file beeing a link to your include 
file, or otherwise, move the global definitions to the Project.config 
and -include this one to your compiler.

Regarding the slow parsing: I'm pretty sure I heard this from other 
people before, maybe there is already a bugreport. I think the most 
helpful information would be the project source code, in case you can 
publish it ;)

Am 05.04.2013 03:54, schrieb hatred:
> Hi All!
> Some compilers can declare header file(s) that will be pre-included to
> all sources before compile. For example GCC has option "-include <file>"
> for this purposes. Our project uses this ability to declare some
> macroses, types, functions and so on (big embedded project).
> I use QTC to edit and refactoting code (Generic Project) and found, that
> some macrosses can't be recognized by QTC while our pre-compiled file
> does not included manually. So, my question: Does any way to point this
> pre-included files for QTC parser?
> And another question but regard parsing.
> Currently I use QTC 2.6.2 on WinXP (32bit) it require about 20 min to
> parse our project (some classes does not recognized but in most cases it
> works). I tried to migrate to 2.7.0 and found that parsing break
> totally: I tried to wait for a two hours, but parsing still reports a
> zero progress. So my question: Does any way to turn on parsing
> debugging? What file currently processing. How much files already
> processed and total files count. Parsing errors and warnings and so ons.
> I want fill a bug report, but I don't see what helpful information I can
> provide...
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

More information about the Qt-creator mailing list