- Qt 6.11
- Qt Quick Controls
- Versioning scheme
- Qt 6.11.0 Reference Documentation

Deployment

# Versioning scheme

## Versions

Qt Quick Controls 2.0 was introduced in Qt 5.7. Subsequent minor Qt releases increment the import version of the Qt Quick Controls modules by one, until Qt 5.12, where the import versions match Qt's minor version.

In Qt 6, both the major and minor versions match, and version numbers may be omitted from imports in QML. If the version is omitted, the latest version will be used.

The experimental Qt Labs modules use import version 1.0.

`Qt` | `QtQuick` | `QtQuick.Controls`, `QtQuick.Controls.Material`, `QtQuick.Controls.Universal`, `QtQuick.Templates` | `Qt.labs.platform`
--- | --- | --- | ---
5.7 | 2.7 | 2.0 | 1.0
5.8 | 2.8 | 2.1 | 1.0
5.9 | 2.9 | 2.2 | 1.0
5.10 | 2.10 | 2.3 | 1.0
5.11 | 2.11 | 2.4 | 1.0
5.12 | 2.12 | 2.12 | 1.0
6.0 | 6.0 | 6.0 | 1.0
... | ... | ... | ...

## Revisions

Due to how Qt Quick Controls are implemented, new properties that are added may clash with any user-defined properties of the same name. For example, the following snippet will result in an error:

     import QtQuick.Controls 2.13

     ApplicationWindow {
         // ...

         ComboBox {
             anchors.centerIn: parent

             // As currentValue was added in 2.14, the versioned import above
             // should cause this property to be used, but instead an error is produced:
             // "Cannot override FINAL property"
             property int currentValue: 0
         }
     }

These properties should be renamed to avoid the conflict.

Deployment