I love using Q_PROPERTY in my code, but I really don't like all of the manual work that is needed to make it work. Thus, I have written a couple of macros to make things a little simpler.
The code is part of the PropertyClassTemplates.h file in the GitHub repository at https://github.com/PacktPublishing/Hands-On-Embedded-Programming-with-Qt.