[Qt-interest] QMAKE to execute SUBDIRS first

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Thu Aug 19 11:29:46 CEST 2010


> While using SUBDIRS template, you can use the 'ordered' config (CONFIG
> += ordered) and place the dir containing the dir which you want built
> first before your app dir. This will ensure that your app project is
> built _after_ the other dependency is built.

eg:
TEMPLATE=subdirs
SUBDIRS=mylib app

>
> app.depends = sub_lib

This should be:

app.depends = mylib


HTH,
-mandeep



More information about the Qt-interest-old mailing list