diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-05-15 10:21:47 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-05-15 10:21:47 +0200 |
commit | 6fb94a7b10216cb03544acfca1ea5e7e121dd50e (patch) | |
tree | 2e5aba50125b1bda1ccb1739b5a6c39336e6333a /doc/src/qtquick | |
parent | c6bee7e20eff2cefe3300d2d5a9fc23508402e98 (diff) | |
parent | 8ca5b55a0bafd744cf62c20de379a7738cb76138 (diff) | |
download | qt-creator-6fb94a7b10216cb03544acfca1ea5e7e121dd50e.tar.gz |
Merge branch '2.7'
Conflicts:
doc/src/qtquick/qtquick-components.qdoc
doc/src/qtquick/qtquick-designer.qdoc
qtcreator.pri
qtcreator.qbs
src/plugins/cppeditor/cppinsertdecldef.cpp
src/plugins/qnx/qnxruncontrolfactory.cpp
Change-Id: I0a37a07c42719bc0d9ef5b3ac4641d01a63c0d88
Diffstat (limited to 'doc/src/qtquick')
-rw-r--r-- | doc/src/qtquick/qtquick-components.qdoc | 14 | ||||
-rw-r--r-- | doc/src/qtquick/qtquick-creating.qdoc | 10 | ||||
-rw-r--r-- | doc/src/qtquick/qtquick-designer.qdoc | 16 | ||||
-rw-r--r-- | doc/src/qtquick/qtquick-screens.qdoc | 9 |
4 files changed, 34 insertions, 15 deletions
diff --git a/doc/src/qtquick/qtquick-components.qdoc b/doc/src/qtquick/qtquick-components.qdoc index 9cfe43abc7..05fb8f0fe5 100644 --- a/doc/src/qtquick/qtquick-components.qdoc +++ b/doc/src/qtquick/qtquick-components.qdoc @@ -74,12 +74,16 @@ \endlist QML types allow you to write cross-platform applications with custom look - and feel. You can also use ready-made Qt Quick Components that enable you to - create applications with a native look and feel for a particular target - platform. You can install the components as part of the Qt 4 SDK. + and feel. You can also use ready-made Qt Quick Components (for Qt 4) to + create screens with a native look and feel for a particular target platform. + Since Qt 5.1, a set of Qt Quick Controls is available for creating classic + desktop-style user interfaces using Qt Quick 2.1. - When you use the \QC project wizard to create Qt Quick applications, you - can select which component set to use in your application. + You can install Qt Quick 1 Components as part of the Qt 4 SDK and the Qt + Quick Controls as part of Qt 5.1, or later. + + The \QC project wizards create Qt Quick applications that use Qt Quick + Components or Controls. Even if you use the Qt Quick Components, you can still write cross-platform applications, by using different sets of QML files for each platform. diff --git a/doc/src/qtquick/qtquick-creating.qdoc b/doc/src/qtquick/qtquick-creating.qdoc index 7cb05ef1cd..f2b4693c96 100644 --- a/doc/src/qtquick/qtquick-creating.qdoc +++ b/doc/src/qtquick/qtquick-creating.qdoc @@ -64,6 +64,10 @@ need to have the development environment installed on your computer to create and run this type of project. + \gui {Qt Quick 2 UI with Controls} imports the Qt Quick Controls. + This project requires that you have installed the Qt Quick Controls + for your Qt version (5.1 or later). + \li \gui {Qt Quick Application (from Existing QML File)} converts existing Qt Quick applications to Qt Quick application projects. This enables you to run them from \QC and to deploy them to mobile @@ -80,8 +84,10 @@ \section1 Creating Qt Quick UI Projects - Select \gui File > \gui {New File or Project} > \gui Applications > \gui {Qt Quick 1 UI} - or \gui {Qt Quick 2 UI} > \gui Choose and follow the instructions of the wizard. + Select \gui File > \gui {New File or Project} > \gui Applications > + \gui {Qt Quick 1 UI}, \gui {Qt Quick 2 UI}, or + \gui {Qt Quick 2 UI with Controls} > \gui Choose and follow the instructions + of the wizard. \QC creates the following files: diff --git a/doc/src/qtquick/qtquick-designer.qdoc b/doc/src/qtquick/qtquick-designer.qdoc index b0bd6cc006..256f1da230 100644 --- a/doc/src/qtquick/qtquick-designer.qdoc +++ b/doc/src/qtquick/qtquick-designer.qdoc @@ -56,7 +56,8 @@ \li \gui {Library} pane (2) displays the building blocks that you can use to design applications: predefined QML types, your own QML - components, Qt Quick components that you import to the project, and + components, Qt Quick components or Qt Quick Controls that you import + to the project, and other resources. \li \gui Canvas (3) is the working area where you create QML components and @@ -150,18 +151,23 @@ components, basic types, positioner types, and views. Sets of UI components with the look and feel of a particular mobile device - platform have been defined for Qt Quick. They are based on standard QML - types. To view the UI components in the \gui {Library} pane, add import + platform have been defined for Qt Quick 1. Since Qt 5.1, a set of Qt Quick + Controls is available for creating classic desktop-style user interfaces + using Qt Quick 2.1. The Qt Quick Components and Controls are based on + standard QML types. To view the components and controls in the + \gui {Library} pane, add import statements to the .pro file of your project. For example: \list \li \c {import com.nokia.meego 1.0} for MeeGo + \li \c {import QtQuick.Controls 1.0} for Qt Quick Controls \endlist - The Qt Quick Application wizard adds the import statements automatically - when you select the component set to use for your project. + The \gui {Qt Quick Application} wizards for a particular platform, such as + MeeGo Harmattan, and the \gui {Qt Quick 2 UI with Controls} wizard add the + import statements automatically. \image qmldesigner-qml-components.png "QML Components pane" diff --git a/doc/src/qtquick/qtquick-screens.qdoc b/doc/src/qtquick/qtquick-screens.qdoc index d5b46ceebc..180f2d8e9d 100644 --- a/doc/src/qtquick/qtquick-screens.qdoc +++ b/doc/src/qtquick/qtquick-screens.qdoc @@ -40,9 +40,12 @@ in the \gui Library pane. \endif - You can also use ready-made Qt Quick Components that allow you to create - screens with a native look and feel for a particular target platform. You - can install the components as part of the Qt 4 SDK. + You can also use ready-made Qt Quick 1 Components (for Qt 4) to create + screens with a native look and feel for a particular target platform. + Since Qt 5.1, a set of Qt Quick Controls is available for creating classic + desktop-style user interfaces using Qt Quick 2.1. You + can install Qt Quick 1 Components as part of the Qt 4 SDK and the Qt Quick + Controls as part of Qt 5.1, or later. \if defined(qcmanual) \section1 Adding Components to Screens |