#include class Test1 : public QObject { Q_OBJECT public slots: void onTst1() {} };