[Qt-creator] Adding header files
Carter, Nathan
NCARTER at bentley.edu
Fri Jul 23 15:02:47 CEST 2010
This is an awful lot of Qt Creator list spam (at least 10 messages just last night alone, doubling the typical list volume just on this one issue) about basic issues of how to use a C++ compiler on Windows. Please try to stay on topic, or we will have people leaving the list because it is sending them what they consider to be copious spam irrelevant to their daily work.
For questions about how to set up a .pro file, use qt-interest. For questions about how to use boost, use one of their lists. For questions about how #include works, see a basic C/C++ website or tutorial. For questions about how to pass -I commands to a compiler, see the man page for the compiler.
None of this is about Qt Creator. I am subscribed to this list and not to any of those other ones because I am not interested in discussing or listening to these issues. Lists have topics for that very reason. This is basic Internet etiquette.
Nathan
On Jul 23, 2010, at 8:34 AM, "Alex T." <dioxinu at gmail.com<mailto:dioxinu at gmail.com>> wrote:
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 <<mailto:matthias.pospiech at gmx.de>matthias.pospiech at gmx.de<mailto: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
<mailto:Qt-creator at trolltech.com>Qt-creator at trolltech.com<mailto:Qt-creator at trolltech.com>
<http://lists.trolltech.com/mailman/listinfo/qt-creator>http://lists.trolltech.com/mailman/listinfo/qt-creator
<ATT00001..txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100723/a3e5163e/attachment.html
More information about the Qt-creator-old
mailing list