[Qt-interest] problem using qmake to build libs and apps in a project (make target dependency issue)

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Sat Jun 5 07:47:06 CEST 2010


Anyone?

Thanks,
-mandeep

On Fri, Jun 4, 2010 at 6:06 PM, Mandeep Sandhu
<mandeepsandhu.chd at gmail.com> wrote:
>>
>> 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