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

hatred adrozdoff at gmail.com
Mon Apr 15 10:48:34 CEST 2013


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

> It does not help to me, that is the problem :-)
>
> What OS do you have?
>

At the work: WinXP SP3. At home Arch Linux, but I don't test on them.


> What version of QtCreator do you use?
>

2.6.2 (2.7.0 freeze indexing)


> is the header file in the same dir as source file?
>
>
No, it is a single file without name conflict


> 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/02e3b68e/attachment.html>


More information about the Qt-creator mailing list