[Qt-interest] problem using qmake to build libs and apps in a project (make target dependency issue)
Mandeep Sandhu
mandeepsandhu.chd at gmail.com
Fri Jun 4 13:03:24 CEST 2010
>
> How can this dependency (of having top run 'install' on the libB
> project first before appA is built) be resolved using qmake?
If I change the Makefile to have the default target i.e 'first' to be
dependent on the 'install' target then things work because now the
headers are placed in the expected place. Also by using the 'ordered'
option for CONFIG I can ensure that all libs are built _before_ any of
the apps are.
Just need to figure out on how to put a qmake rule which will make the
default target (of libB) dependent on 'install'.
-mandeep
>
> Thanks,
> -mandeep
>
More information about the Qt-interest-old
mailing list