[Qt-interest] [qmake] source and header files in separate directories
J-P Nurmi
jpnurmi at gmail.com
Sat Sep 26 21:58:31 CEST 2009
On Sat, Sep 26, 2009 at 3:26 PM, Richard Stellingwerff
<remenic at gmail.com> wrote:
> 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?
Hi,
List relevant directories in the DEPENDPATH variable:
http://doc.qt.nokia.com/4.5/qmake-variable-reference.html#dependpath
--
J-P Nurmi
More information about the Qt-interest-old
mailing list