Getting screen orientation in Windows
larkei15 last edited by
I am working on a QML application that implements a camera for capturing images. I was expecting to be able to easily set up rotation with the camera, but this was not the case. I am testing on an iPad and a Surface tablet, as well as the computer I'm writing the code on. I am able to manually rotate the camera image on the iPad by accessing the Screen.orientation property, however with the Surface, this property appears to not be affected by the Windows screen rotation. Also, I should mention that I am only able to use QML, not C++. Is there any way I can get the current screen orientation from Windows within QML?