Hi all, I'm new to this list.

I'm experiencing some weird behavior with a SDL-based project I
migrated to qmake/QT Creator under Ubuntu. I installed SDL using the
package manager, so the include directory is located at /usr/include/.
Since QT Creator couldn't find it, I added INCLUDEPATH += /usr/include
to my .pro file. Of course, I also added a LIBS entry.

And that's when things get weird: The project compiles and runs just
fine. References to <SDL/SDL.h> in most of my source files get
resolved just fine, with my main.cpp being the only exception. For
some reason, QT Creator keeps underlining the #include statement
complaining that it wasn't able to find SDL.h.

Any ideas why is this? Why would QT Creator ignore my INCLUDEPATH just
for _one_ file?

Thanks in advance,

-- 
Iván Vodopiviz

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to