Qt Quick Controls 2
Qt Quick Controls 2 provides a set of controls that can be used to build complete interfaces in Qt Quick. The module was introduced in Qt 5.7.
The QML types can be imported into your application using the following import statement in your
import QtQuick.Controls 2.1
The C++ classes can be included into your application using the following include statement:
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
- Qt Quick Controls 2 Configuration File
- Supported Environment Variables in Qt Quick Controls 2
© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.