Qt Quick Controls 2 5.7

Qt 5.7 | Qt Quick Controls 2

Qt 5.7.1 Reference Documentation

# Qt Quick Controls 2

Qt Quick Controls 2 provides a set of controls that can be used to build complete interfaces in Qt Quick.

## Prerequisites

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

      import QtQuick.Controls 2.0

The C++ classes can be included into your application using the following include statement:

      #include <QtQuickControls2>

To link against the corresponding C++ libraries, add the following to your qmake project file:

      QT += quickcontrols2

For more details, see Getting Started with Qt Quick Controls 2.

## Important Concepts in Qt Quick Controls 2

- Qt Quick Controls 2 Guidelines
- Styling Qt Quick Controls 2
- Customizing Qt Quick Controls 2
- High-DPI Support in Qt Quick Controls 2
- Using File Selectors with Qt Quick Controls 2
- Differences between Qt Quick Controls
- Deploying Qt Quick Controls 2 Applications

## Reference

- QML Types
- C++ Classes

## Examples

- Gallery
- Chat Tutorial
- All Examples

## Related Modules

- Qt Quick
- Qt Quick Layouts
- Qt Quick Templates 2
- Qt Labs Calendar