On Monday 07 March 2016 20:55:11 Curtis Mitch wrote:
> Recently I noticed this sentence in QObject's documentation [1]:
> 
> We strongly recommend the use of this macro in all subclasses of QObject
> regardless of whether or not they actually use signals, slots and
> properties, since failure to do so may lead certain functions to exhibit
> strange behavior.
> 
> Why is this the case? What strange behaviour could result from not doing
> so?
> 
> [1] http://doc.qt.io/qt-5/qobject.html#Q_OBJECT

Shameless plug:
https://marcmutz.wordpress.com/effective-qt/subclassing/

-- 
Marc Mutz <[email protected]> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to