Emailing: objectdescriptionmodel.patch

Cyril Comparon cyril.comparon at trolltech.com
Mon Jul 2 15:32:23 CEST 2007


Yes, you were right, my bad.
cyril
  ----- Original Message ----- 
  From: Richard 
  To: Cyril Comparon 
  Cc: Matthias Kretz ; phonon-backends at kde.org 
  Sent: Monday, July 02, 2007 1:36 PM
  Subject: Re: Emailing: objectdescriptionmodel.patch


  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/49d83a2c/attachment.html 


More information about the Phonon-backends mailing list