Please tell me how to dynamically change the orientation lock in a QML file!
I have an app with a portrait lock, but whenever I call the in app purchase API my portrait lock gets gets overridden for the entire app.
Can someone please tell me how to re-lock my app to portrait?
Currently I set the portrait lock 2 ways.
in main.cpp I do this to ensure that my splash screen is portrait locked:
In each QML file I have a page and I do this: