Emailing: objectdescriptionmodel.patch

Richard richardmg at trolltech.com
Mon Jul 2 13:36:11 CEST 2007


I am not sure if its going to help... because the moc compiler runs  
before the pre-processor, meaning it will see all your includes. My  
guess is that qmake/moc will be confused...

-Ric


On Jul 2, 2007, at 12:00 PM, Cyril Comparon wrote:

> Hi,
> Thierry and I suggest that we change every cpp file that includes  
> one or
> more moc files, this way:
>
> #ifdef PHONON_USING_QMAKE
> #  include "moc_factory.cpp"
> #  include "moc_factory_p.cpp"
> #else
> #  include "factory.moc"
> #  include "factory_p.moc"
> #endif
>
> ... and that we add DEFINES += PHONON_USING_QMAKE in phonon.pro.
> This way we would all work on the same source code :)
> Please let us know if it sounds reasonable.
>
> Cyril
>
> _______________________________________________
> Phonon-backends mailing list
> Phonon-backends at kde.org
> https://mail.kde.org/mailman/listinfo/phonon-backends



--
Richard Moe Gustavsen
Software Engineer II, Trolltech ASA
Sandakerveien 116, NO-0484 Oslo, Norway


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/phonon-backends/attachments/20070702/dd47f3a2/attachment.html 


More information about the Phonon-backends mailing list