[Qt-interest] QMAKE to execute SUBDIRS first
Andreas Pakulat
apaku at gmx.de
Thu Aug 19 12:59:28 CEST 2010
On 19.08.10 16:16:54, Chitrang Srivastava wrote:
> Ok I tried but its going in recursive loop
>
> TEMPLATE = subdirs
> SUBDIRS += app lib
>
> lib.subdir = library ('pwd'/library i.e. /home/user/app/library)
> app.subdir = $$(PWD) (i.e. /home/user/app/)
> app.depends = lib
This won't work, you'll have to change the layout of your project on disk
to be
project
|
+- app
+- library
There's no other way with qmake.
Andreas
--
This life is yours. Some of it was given to you; the rest, you made yourself.
More information about the Qt-interest-old
mailing list