#include <QtCore/qmetaobject.h> #ifndef QMETAOBJECT_H class QMetaClassInfo{ /* Some contents are skipped to improve readability */ friend struct QMetaObject; /* ... */ }; #endif // QMETAOBJECT_H