Yes, I've missed this. Thanks for pointing me to it.
No, .moc file is included in .cc file which includes all required headers. Moc generates a reference to Core::staticMetaObjec where it obviously should be Core::Particle::staticMetaObject. Very strange that it is related to Q_PROPERTY.
My original goal was to put Q_DECLARE_METATYPE into different header because I want to have a subset of my API which is independent of Qt.
Bookmarks