[Qt-interest] [qmake] source and header files in separate directories

Richard Stellingwerff remenic at gmail.com
Sat Sep 26 14:26:02 CEST 2009


Hi,

When starting on a project, we initially used Visual Studio to deal with
project settings and building. In this setup, our header files and source
files were places in separate directories. Now, we are moving to qmake as
our build system (in Linux and Mac anyway) but I have run into a problem.

When editing one of the header files, all source files that include the
modifief header file do not get automatically rebuild. This only seems to
work when header and source files are in the same directory. Is there some
way to be able to keep our current directory structure, without losing the
'dependency tracking' (I don't know the official name) functionality?

Thanks,
Richard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090926/38e742df/attachment.html 


More information about the Qt-interest-old mailing list