C

Application QML Type

An application container for multiple screens. More...

Import Statement: import QtQuickUltralite.Layers
Since: Qt Quick Ultralite 1.7
Inherits:

Item

Detailed Description

The Application type can contain multiple Screen items to display QML on devices with multiple display outputs.

Example usage:

Application {
    Screen {
        outputDevice: "Primary screen"

        ItemLayer {
            anchors.fill: parent
            Rectangle {
                anchors.fill: parent
                color: "red"
            }
        }
    }

    Screen {
        outputDevice: "Secondary screen"

        ItemLayer {
            anchors.fill: parent
            Rectangle {
                anchors.fill: parent
                color: "green"
            }
        }
    }
}

Note: This feature may not be supported by hardware on all reference boards. For more information, see Supported Features table.

Note: This type is specific to Qt Quick Ultralite. See also the compatibility page.

See also Screen.

Available under certain Qt licenses.
Find out more.