[email protected] wrote:
> I have a .pro file that looks like this:
> 
> TEMPLATE = subdirs
> CONFIG += ordered
> SUBDIRS = Project1 \
>         Project2 \
>         Project3
> 
> Some of the .h files in Project1 are used in Project2 and
> Project3. When I change one of those header files and do a
> build, only the files in Project1 get rebuilt. 

You should set DEPENDPATH in Project2.pro & Project2.pro
To e.g. "../Project1" (that is, if the header files are directly
under Project1.

http://doc.trolltech.com/4.6/qmake-variable-reference.html#dependpath

Regards

Kai

-- 
Kai K?hne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Gesch?ftsf?hrer: Dr. Michael Halbherr, Karim T?htivuori

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

Reply via email to