title: QML - Lock/Unlock screen orientation with one button (android and eventually ios)
body: <p>I've been searching for a solution to this but I could only find a way to force the whole app to stay in either landscape or portrait, via the android manifest. In my app the user is able to customize his UI and one important aspect of that is the screen orientation. I'd like to create a button where the user could change the orientation and lock it that way.</p>
  
  <p>Thank you for your time.</p>