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. Qt6.7 (QML) breaks Dialog rotation.
Qt 6.11 is out! See what's new in the release blog

Qt6.7 (QML) breaks Dialog rotation.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 394 Views 1 Watching
  • 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.
  • K Offline
    K Offline
    Kuzma30
    wrote on last edited by
    #1

    In my app for rotation of screen I use

    Window {
        id: root
        contentOrientation: Qt.InvertedLandscapeOrientation
        Rectangle{
            id: root_w
            width: 1920
            height: 1200
            color:  GUIParam.bGNDGraphColor
            transform: Rotation {
                angle: 270
                origin.x: root.height / 2
                origin.y: root.height / 2
            }
    
    

    This code works on Qt6.6 but in 6.7 I get rotated screen but not Dialog.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ceber
      wrote on last edited by
      #2

      Hi ! Same issue for me after upgrading from 6.4.2 to 6.8.1. In my case, I'm setting orientation in "main.cpp".

      1 Reply Last reply
      0

      • Login

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