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

hatred adrozdoff at gmail.com
Mon Apr 15 02:51:29 CEST 2013

Hi Petar!

Try to add
#include "your_header.h"

into .config file. It helps me :-)

2013/4/15 Petar Perisin <petar.perisin at gmail.com>

> Hi,
> NOTE: this is my first post on mailing list. I would like to reply to
> existing thread - "C/C++ parser and "pre-included" headers", but since I
> have never done this maybe I will create new thread. sorry about that. :-)
> However, there was discussion about how to add pre-compiled headers to
> generic project, so that code model recognizes them and parses them, and
> kinda includes them in fornt of every file in the code base - I have this
> issues too, and I was not able to solve them so far. I work on Linux,
> QtCreator "2.8", compiled from master branch.
> I have seen in several occasions information about how I should do
> something to the *.config file - however, so far nothing I have tired
> worked worked.
> Is there someone who had made this work, in any way what-so-ever? Can you
> please explain how to do this in detail, since I have tried a lot of things
> and nothing ever made parser include any of the files listed in *.config
> file?
> Regards,
> Petar
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20130415/d7edc2bf/attachment.html>

More information about the Qt-creator mailing list