class Test: public QObject{#ifdef MY_DEBUG Q_OBJECT#endif};
#ifdef MY_DEBUG Q_OBJECT#endif
class Test: public QObject{ Q_OBJECT MY_DEBUG// snip};