全部博文(174)
分类: LINUX
2009-05-25 20:06:03
它包括QObject类型,私有域的Q_OBJECT宏,和元对象编译器。
The moc reads a C++ source file. If it finds one or more class declarations that contain the "Q_OBJECT" macro, it produces another C++ source file which contains the meta object code for this class. This generated source file is either #included into the class' source file or compiled and linked with the class implementation.