[Qt-creator] Adding header files

Alex T. dioxinu at gmail.com
Fri Jul 23 14:34:04 CEST 2010


Matthias, -I is -I flag for include dirs which is passed to the compiler. It
looks confusing because of the font.

Jothy, about the difference between #include "" and #include <>.  The first
one will tell that the header should be searched in the path relative to the
currents source file location. The second - that the header should be looked
for in the directories listed via -I. Note, such kind of questions are not
specific to qt creator, that's why they should not be asked in this mailing
list.




On 23 July 2010 15:24, Matthias Pospiech <matthias.pospiech at gmx.de> wrote:

> André Pönitz schrieb:
> > On Friday 23 July 2010 13:45:33 ext Jothy wrote:
> >
> >> I simply added INCLUDEPATH += -I C:\boost
> >>
> >> Now its able to find all the header files except file path starting with
> boost/
> >>
> >
> > Drop the '-I' from INCLUDEPATH
> >
> What does the -I switch mean anyway?
>
> Matthias
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100723/b4669175/attachment.html 


More information about the Qt-creator-old mailing list