Unsolved Orientation landscape only (but including reverse-landscape)
Does Qt provide a way to set the available orientation of the app/device either landscape or reverse landscape? (I mean you can see the app only in landscape but if you invert the device the image would adapt but not to portrait orientation)
benlau Qt Champions 2016 last edited by
I don't think so. You have to handle it by yourself per platform.
Check this tip if it can at lea
height: Math.min(root.width, root.height)
If you're in android add this to the concerned acticity section inside your app manifest file :