Qt update

Miika Turkia miika.turkia at gmail.com
Sat Apr 13 05:08:49 PDT 2013


On Thu, Apr 11, 2013 at 10:33 AM, Dirk Hohndel <dirk at hohndel.org> wrote:

> Miika Turkia <miika.turkia at gmail.com> writes:
>
> > That is why the "more stuff" should not include the $(OBJS) variable but
> > use the append operator "+=" instead.
>
> Patches?
>

Now that I look at the code, it is not only about the $(OBJS) variable as
the MOC_OBJS is also derived from the OBJS. And therefore the append
operator (without $(OBJS)) does not work either.

HEADERS_NEEDING_MOC += $(shell grep -l -s 'Q_OBJECT' $(OBJS:.o=.h))
MOC_OBJS = $(HEADERS_NEEDING_MOC:.h=.moc.o)
ALL_OBJS = $(OBJS) $(MOC_OBJS)

miika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130413/66385f09/attachment.html>


More information about the subsurface mailing list