This might be interesting to you: <a href="https:&#x2F;&#x2F;woboq.com&#x2F;blog&#x2F;reflection-in-cpp-and-qt-moc.html" rel="nofollow">https:&#x2F;&#x2F;woboq.com&#x2F;blog&#x2F;reflection-in-cpp-and-qt-moc.html</a>