forked from qt-creator/qt-creator
Doc: the Qt Quick UI project wizards were combined
You now select the imports on the second page of the wizard. Change-Id: I07a2519ea31edae547865792b0c409872f5ac09f Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 54 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 58 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 55 KiB |
@@ -128,14 +128,6 @@
|
|||||||
installed on your computer to create and run this type of
|
installed on your computer to create and run this type of
|
||||||
projects
|
projects
|
||||||
|
|
||||||
\li Qt Quick 2 UI with Controls
|
|
||||||
|
|
||||||
Uses a single QML file that contains the main view and that
|
|
||||||
imports the Qt Quick Controls. You can view the UI in the QML
|
|
||||||
Scene and you need not build it. This project requires that
|
|
||||||
you have installed the Qt Quick Controls for your Qt version
|
|
||||||
(5.1 or later)
|
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\li Libraries
|
\li Libraries
|
||||||
|
|||||||
@@ -51,10 +51,6 @@
|
|||||||
need to have the development environment installed on your
|
need to have the development environment installed on your
|
||||||
computer to create and run this type of project.
|
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 Extension Plugins} (in the \gui Libraries category)
|
\li \gui {Qt Quick Extension Plugins} (in the \gui Libraries category)
|
||||||
create C++ plugins that make it possible to offer extensions that
|
create C++ plugins that make it possible to offer extensions that
|
||||||
can be loaded dynamically into Qt Quick applications. Select
|
can be loaded dynamically into Qt Quick applications. Select
|
||||||
@@ -66,10 +62,30 @@
|
|||||||
|
|
||||||
\section1 Creating Qt Quick UI Projects
|
\section1 Creating Qt Quick UI Projects
|
||||||
|
|
||||||
Select \gui File > \gui {New File or Project} > \gui Applications >
|
\list 1
|
||||||
\gui {Qt Quick 1 UI}, \gui {Qt Quick 2 UI}, or
|
|
||||||
\gui {Qt Quick 2 UI with Controls} > \gui Choose and follow the instructions
|
\li Select \gui File > \gui {New File or Project} > \gui Applications >
|
||||||
of the wizard.
|
\gui {Qt Quick UI} > \gui Choose.
|
||||||
|
|
||||||
|
\li In the \gui {Qt Quick component set} field, select the component set
|
||||||
|
to use for the project. The Qt Quick imports enable you to create
|
||||||
|
cross-platform applications with a custom look and feel, whereas the
|
||||||
|
Qt Quick Controls provide the look and feel for a particular
|
||||||
|
platform:
|
||||||
|
|
||||||
|
\list
|
||||||
|
|
||||||
|
\li Select \gui {Qt Quick Controls 1.0} or \gui {Qt Quick 2.0} to
|
||||||
|
develop for platforms that run Qt 5.
|
||||||
|
|
||||||
|
\li Select \gui {Qt Quick 1.1} to develop for platforms that run
|
||||||
|
Qt 4.7.4. To develop for platforms that run Qt 4.7.1, 4.7.2, or
|
||||||
|
4.7.3, you must change the import statement to import Qt Quick
|
||||||
|
1.0.
|
||||||
|
|
||||||
|
\endlist
|
||||||
|
|
||||||
|
\endlist
|
||||||
|
|
||||||
\QC creates the following files:
|
\QC creates the following files:
|
||||||
|
|
||||||
@@ -84,10 +100,6 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
The \c import statement in the beginning of the .qml file specifies the Qt modules to
|
|
||||||
\l{http://qt-project.org/doc/qt-5.0/qtqml/qtqml-syntax-imports.html}{import}. Each Qt module
|
|
||||||
contains a set of default QML types. Specify a version to get the features you want.
|
|
||||||
|
|
||||||
To use JavaScript and image files in the application, copy them to the
|
To use JavaScript and image files in the application, copy them to the
|
||||||
project folder.
|
project folder.
|
||||||
|
|
||||||
@@ -99,22 +111,8 @@
|
|||||||
\gui {Qt Quick Application} > \gui Choose.
|
\gui {Qt Quick Application} > \gui Choose.
|
||||||
|
|
||||||
\li In the \gui {Qt Quick component set} field, select the component set
|
\li In the \gui {Qt Quick component set} field, select the component set
|
||||||
to use for the project. The Qt Quick imports enable you to create
|
to use for the project. For more information, see
|
||||||
cross-platform applications with a custom look and feel, whereas the
|
\l{Creating Qt Quick UI Projects}.
|
||||||
Qt Quick Controls provide the look and feel for a particular
|
|
||||||
platform:
|
|
||||||
|
|
||||||
\list 1
|
|
||||||
|
|
||||||
\li Select \gui {Qt Quick Controls 1.0} or \gui {Qt Quick 2.0} to
|
|
||||||
develop for platforms that run Qt 5.
|
|
||||||
|
|
||||||
\li Select \gui {Qt Quick 1.1} to develop for platforms that run
|
|
||||||
Qt 4.7.4. To develop for platforms that run Qt 4.7.1, 4.7.2, or
|
|
||||||
4.7.3, you must change the import statement to import Qt Quick
|
|
||||||
1.0.
|
|
||||||
|
|
||||||
\endlist
|
|
||||||
|
|
||||||
\li Select \l{glossary-buildandrun-kit}{kits} for running and building
|
\li Select \l{glossary-buildandrun-kit}{kits} for running and building
|
||||||
your project, and then click \gui{Next}.
|
your project, and then click \gui{Next}.
|
||||||
|
|||||||
Reference in New Issue
Block a user