marble for mingw-win32? (+ some notes)

Thiago Macieira thiago at macieira.org
Wed Jun 19 10:04:04 PDT 2013


On quarta-feira, 19 de junho de 2013 18.02.35, Lubomir I. Ivanov wrote:
> as a side question, why did i had to do this:
> 
> moc qt-ui/preferences.h -o qt-ui/preferences.moc
> and then add this manually at the bottom of preferences.cpp:
> #include "preferences.moc"
> 
> i wonder how the default Makefile handles that and i must be doing it
> in silly way given it's not in the git repo?

It does like this:

# Add the objects for the header files which define QObject subclasses
HEADERS_NEEDING_MOC += $(shell grep -l -s 'Q_OBJECT' $(HEADERS))
MOC_OBJS = $(HEADERS_NEEDING_MOC:.h=.moc.o)

ALL_OBJS = $(OBJS) $(MOC_OBJS)

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130619/23ff0fef/attachment.sig>


More information about the subsurface mailing list