C
MCU.Config.displayRotationAngle
Description
The property can be set to one of these angles (in degrees): 0, 90, 180, or 270.
Default value is 0, which means the feature is disabled. Rotation is applied only for 90, 180 and 270 degrees.
Content of the screen is rotated clockwise by value of this property.
Note: The rotation behavior on the desktop backend depends on MCU.Config.showDesktopPreviewInNaturalDisplayOrientation.
Usage
MCU.Config { displayRotationAngle: 90 }
Since
This property was introduced in QmlProject API 2.7.0.
See also MCU.Config.showDesktopPreviewInNaturalDisplayOrientation and Configuring the display rotation.
Available under certain Qt licenses.
Find out more.