Qt Quick Templates 2 QML Types

The Qt Quick Templates 2 module provides a set of non-visual templates that can be used to build user interface controls in QML using Qt Quick.

The QML types can be imported using the following import statement in your .qml file:

 import QtQuick.Templates as T

For the sake of clarity, there is a one-to-one mapping between the types provided by the QtQuick.Templates and QtQuick.Controls imports. For every type available in the QtQuick.Controls import, a non-visual template type by the same name exists in the QtQuick.Templates import.

Note: It is recommended to use a namespace for the templates import to avoid overlap with the types provided by the QtQuick.Controls import.

QML Types