2016-04-14 05:40:39 +00:00
|
|
|
Qt Quick Controls 2
|
|
|
|
===================
|
2016-01-25 13:49:28 +00:00
|
|
|
|
2017-12-22 12:29:15 +00:00
|
|
|

|
|
|
|
|
2016-04-14 05:40:39 +00:00
|
|
|
The Qt Quick Controls 2 module delivers the next generation user interface
|
2016-04-13 08:38:53 +00:00
|
|
|
controls based on Qt Quick. In comparison to the desktop-oriented Qt Quick
|
|
|
|
Controls 1, Qt Quick Controls 2 are an order of magnitude simpler, lighter and
|
|
|
|
faster, and are primarily targeted towards embedded and mobile platforms.
|
2016-01-25 13:49:28 +00:00
|
|
|
|
2016-04-13 08:38:53 +00:00
|
|
|
Qt Quick Controls 2 are based on a flexible template system that enables rapid
|
2016-04-14 05:40:39 +00:00
|
|
|
development of entire custom styles and user experiences. Qt Quick Controls 2
|
2016-01-30 08:45:43 +00:00
|
|
|
comes with a selection of built-in styles:
|
|
|
|
|
|
|
|
- Default style - a simple and minimal all-round style that offers the maximum performance
|
2017-12-22 12:29:15 +00:00
|
|
|
- Fusion style - a platform-agnostic style that offers a desktop-oriented look'n'feel
|
|
|
|
- Imagine style - a designer-friendly style based on image assets
|
2016-01-30 08:45:43 +00:00
|
|
|
- Material style - a style based on the Google Material Design Guidelines
|
|
|
|
- Universal style - a style based on the Microsoft Universal Design Guidelines
|
|
|
|
|
2016-01-25 13:49:28 +00:00
|
|
|
More information can be found in the following blog posts:
|
|
|
|
|
|
|
|
- http://blog.qt.io/blog/2015/03/31/qt-quick-controls-for-embedded/
|
|
|
|
- http://blog.qt.io/blog/2015/11/23/qt-quick-controls-re-engineered-status-update/
|
2017-12-22 12:29:15 +00:00
|
|
|
- http://blog.qt.io/blog/2016/06/10/qt-quick-controls-2-0-a-new-beginning/
|
|
|
|
- http://blog.qt.io/blog/2016/10/06/qt-quick-controls-2-1-and-beyond/
|
|
|
|
- http://blog.qt.io/blog/2017/05/31/ready-made-ui-controls-qt-quick-controls-2-summary/
|
|
|
|
- http://blog.qt.io/blog/2017/11/23/qt-quick-controls-2-imagine-style/
|
|
|
|
- http://blog.qt.io/blog/2017/11/23/ready-qt-quick-controls-2-3/
|
2016-01-25 13:49:28 +00:00
|
|
|
|
|
|
|
## Help
|
|
|
|
|
|
|
|
If you have problems or questions, don't hesitate to:
|
|
|
|
|
2016-01-30 08:45:43 +00:00
|
|
|
- ask on the Qt Interest mailing list http://lists.qt-project.org/mailman/listinfo/interest
|
2016-01-25 13:49:28 +00:00
|
|
|
- ask on the Qt Forum http://forum.qt.io/category/12/qt-quick
|
2016-01-30 08:45:43 +00:00
|
|
|
- report issues to the Qt Bug Tracker https://bugreports.qt.io (component: *Qt Quick: Controls 2*)
|
2016-01-25 13:49:28 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
The MINIMUM REQUIREMENT for building this project is to use the same branch
|
2020-10-22 11:57:27 +00:00
|
|
|
of Qt 5. The dependencies are *qtbase* and *qtdeclarative*.
|
2016-01-25 13:49:28 +00:00
|
|
|
|
2016-01-30 08:45:43 +00:00
|
|
|
To install the controls into your Qt directory (```QTDIR/qml```):
|
2016-01-25 13:49:28 +00:00
|
|
|
|
|
|
|
qmake
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
|
2016-01-30 08:45:43 +00:00
|
|
|
If you are compiling against a system Qt on Linux, you might have to use
|
2016-01-25 13:49:28 +00:00
|
|
|
```sudo make install``` to install the project.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2017-12-22 12:29:15 +00:00
|
|
|
Please refer to the [Getting Started with Qt Quick Controls 2](https://doc.qt.io/qt-5/qtquickcontrols2-gettingstarted.html) documentation.
|