Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Rotation/scaling problem with Package



  • Trying to use a Package in a QML project that needs to be scaled, and rotated 180 degrees.
    I do the rotation/scaling on the top level element, and all the contents are scaled/rotated with it as expected, except for the contents of delegates created using a Package.

    To reproduce the problem, just add @rotation: 180@ to the top level Rectangle of the photoviewer example.
    The pictures in the initial view are not rotated. However, going to the next view and then back, they suddenly are rotated.

    I guess this must be a Qt bug, but can anyone think of a workaround?


Log in to reply