1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma clang system_header struct QObject { }; struct QEvent { enum Type { None }; QEvent(Type) {} }; struct QCoreApplication : public QObject { static void postEvent(QObject *receiver, QEvent *event); static QCoreApplication *instance(); }; struct QApplication : public QCoreApplication {};