On 06/04/2015 04:52 PM, Konstantin Ritt wrote: > #define Q_OBJECT \ > > public: \ > > Q_OBJECT_CHECK \ > > QT_WARNING_PUSH \ > > Q_OBJECT_NO_OVERRIDE_WARNING \ > > static const QMetaObject staticMetaObject; \ > > virtual const QMetaObject *metaObject() const; \ > > virtual void *qt_metacast(const char *); \ > > virtual int qt_metacall(QMetaObject::Call, int, void **); \ > > QT_WARNING_POP \
Oh, this is already in 5.5... I overlooked it somehow. Well, that makes this thread kinda pointless. Sorry about the noise (if the construct above indeed works). Christian _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development