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

Petar Perisin petar.perisin at gmail.com
Mon Apr 15 08:35:52 CEST 2013


It does not help to me, that is the problem :-)

What OS do you have?
What version of QtCreator do you use?
is the header file in the same dir as source file?

Thanks,
Petar


On Mon, Apr 15, 2013 at 2:51 AM, hatred <adrozdoff at gmail.com> wrote:

> 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/106d0931/attachment.html>


More information about the Qt-creator mailing list