[Qt-creator] QMake and dependencies

Jochen Becher jochen_becher at gmx.de
Thu Jan 7 20:08:10 CET 2010


Hi,

this is likely a problem with qmake:

I put all my sources in a subdirectory src. I don't want to use this
"src" in all my include paths so added a INCLUDEPATH="src" directive to
my .pro file.

No it seems that all sources that include a file via that INCLUDEPATH
directive do not depend on that headers. If I modify the header the
source is not automatically recompiled. Is this the intended behaviouor
of INCLUDEPATH?

What's the best way to solve this problem? I would like to have all
sources and headers in one .pro file.

Regards, Jochen





More information about the Qt-creator-old mailing list