<div>Hi,<br></div><div><br></div><div>I'm rewriting my Sailfish OS apps with a C++ backend by following the encapsulation rules.<br></div><div>This implies that I need a get/set for each C++ class so I searched online if QtCreator cannot generate these automatically and it should do it: <a href="https://stackoverflow.com/questions/21142940/how-to-make-getter-and-setter-methods-in-qt-creator-automatically">https://stackoverflow.com/questions/21142940/how-to-make-getter-and-setter-methods-in-qt-creator-automatically</a><br></div><div>However, the Sailfish OS QtCreator doesn't seem to do this when I press ALT + ENTER on a member variable, the same for the Refactor option.</div><div><br></div><div>Is it disabled or am I doing something wrong?<br></div><div>Writing each setter/getter myself takes a lot of time...</div><div><br></div><div>Kind regards,<br></div><div>Dylan Van Assche</div><div><br></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><div><br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div>