Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Getting screen orientation in Windows
Forum Updated to NodeBB v4.3 + New Features

Getting screen orientation in Windows

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
surfacewindowsrotationorientationqml
1 Posts 1 Posters 606 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    larkei15
    wrote on 9 Oct 2018, 19:55 last edited by
    #1

    Hello all,

    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?

    Thanks,
    Keith

    1 Reply Last reply
    0

    1/1

    9 Oct 2018, 19:55

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved