#include <QtCore/qobjectdefs.h> #ifndef QOBJECTDEFS_H struct QMetaObject{ /* Some contents are skipped to improve readability */ public: static void activate(struct QObject* sender, int signal_index, void* * argv); /* ... */ }; #endif // QOBJECTDEFS_H