[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 14:36:16 CEST 2010
>
> Just need to figure out on how to put a qmake rule which will make the
> default target (of libB) dependent on 'install'.
I found a way to install the headers for libB by specifying
POST_TARGETDEPS += install_headers
BUT, this causes a circular dependency since qmake by default adds
'all' to the list of dependencies for the 'install' target. Is there
any way to instruct qmake not to add 'all' as a dependent target for
'install'?
Or is there a better way of handling this app-lib dependency
issue..and I'm missing some basic thing?
Any hints/suggestions??
Thanks,
-mandeep
>
> -mandeep
>
>
>>
>> Thanks,
>> -mandeep
>>
>
More information about the Qt-interest-old
mailing list