Would it be better if I write this
"Better" is subjective. Have you established this to be a performance problem? Because generally, unwarranted micro-optimizations are considered a bad programming practice.
CoW has a tiny overhead, but unless you establish that it creates a problem for you, it shouldn't be a concern. If your proposed method was better, I am sure Qt would use that format to auto-generate getters, and also propose it in the documentation.
This doesn't mean that your format won't be objectively more efficient in your specific narrow use case scenario. But it does mean the returns you will get may not be worth the extra key presses to implement manual getters, although you could use a macro for properties, like most people do.
The format Qt uses is more universal, for example your format might be problematic if you want to use that property from QML, which may not support string references, and doesn't delegate const correctness from C++ yet.
Also, returning a mutable reference opens the door to modify object properties without going through the correct code path that would also notify of the change, which may have adverse side effects if your code is monitoring and reacting to data changes. I presume you are referring to properties here, since you talk about auto-generated getters, not about plain class members.