Solved To create JavaBean-like getter in Qt Creator
-
Creator creates a property, by typing Q_PROPERTY and let the auto completion fill the rest, using the myVar() and setMyVar() as the getter and setter. I have not been able to find a way to configure it to use JavaBean-style getMyVar() instead. Any hints on that? Thanks!
-
Q_PROPERTY(MyVarType myVar READ getMyVar WRITE setMyVar)
-
Q_PROPERTY(MyVarType myVar READ getMyVar WRITE setMyVar)