[Qt-creator] QMake and dependencies
Jochen Becher
jochen_becher at gmx.de
Fri Jan 8 00:20:38 CET 2010
Hi Kris,
thank you for the quick answer. I had seen this variable DEPENDPATH in
the qmake documentation but it was not clear to me. Sometimes the
documentation is a little bit short...
Regards, Jochen
Am Donnerstag, den 07.01.2010, 14:12 -0500 schrieb Kris Wong:
> > 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.
>
> DEPENDPATH += $${INCLUDEPATH}
>
> -Kris Wong
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list