[Qt-creator] Header files not correctly recognized properly
karsten.heimrich at nokia.com
karsten.heimrich at nokia.com
Tue Nov 4 13:09:24 CET 2008
Hi,
-----Ursprüngliche Nachricht-----
Von: qt-creator-bounces at trolltech.com [mailto:qt-creator-bounces at trolltech.com] Im Auftrag von Lindeijer Thorbjorn (Nokia-D-Qt/Berlin)
Gesendet: Dienstag, 4. November 2008 13:00
An: ext Sunil Thaha
Cc: qt-creator at trolltech.com
Betreff: Re: [Qt-creator] Header files not correctly recognized properly
ext Sunil Thaha wrote:
>> I was trying out the application on Linux and I found a bug in Qt
>> creator that; it fails to recognize the headers in the INCLUDEPATH that
>> are specified as relative to the pro file.
>I've been able to reproduce your problem. It's because we forgot to make
>sure paths specified there are converted to absolute when necessary (you
>should be able to work around this issue by specifying them absolute in
>your .pro file). We'll fix this for the next release.
just put $$PWD in front of your path like this:
INCLUDEPATH += $$PWD \
$$PWD/. \
$$PWD/headers
Works for both .pro and .pri files.
Regards,
Karsten
Karsten Heimrich
Software Engineer
Nokia, Qt Software
More information about the Qt-creator-old
mailing list