[LAU] Jack-enabled CLI Player

Gabriel M. Beddingfield gabriel at teuton.org
Sun Aug 2 16:53:04 EDT 2009


On Sun, 2 Aug 2009, Julien Claassen wrote:
>   Sorry, completely off the mark: but what is moc from Tt?

moc is the "Meta-Object Compiler" for the Qt widget toolkit.  Qt uses 
'moc' to implement their signal/slot mechanism.  It's like a pre-compiler 
or pre-processor.  It process a class declaration file (.h, .hpp header) 
and creates an implementation (.cpp) for some Qt-specific magic.

    MyClass.hpp ---(moc)---> MyClass_moc.cpp--(g++)--> MyClass_moc.o
    MyClass.cpp ---------(g++)-----------------------> MyClass.o

It has nothing to do with music.

Read more about it here:

   http://doc.trolltech.com/4.5/signalsandslots.html
   http://doc.trolltech.com/4.5/signalsandslots.html#meta-object-information

Peace,
Gabriel




More information about the Linux-audio-user mailing list