forked from qt-creator/qt-creator
Doc: Update descriptions of Qt Quick wizards
Qt Quick Controls Application, Qt Quick UI, and Qt Quick Extension Plugins wizards have been removed from Qt Creator. Change-Id: I30e6e59e38d7f120d35f6cf34603d4ec356a5ef4 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
\section1 Creating the Project
|
\section1 Creating Qt Quick Controls 2 Applications
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
||||||
\uicontrol Application > \uicontrol {Qt Quick Controls Application}
|
\uicontrol Application > \uicontrol {Qt Quick Controls 2 Application}
|
||||||
> \uicontrol Choose.
|
> \uicontrol Choose.
|
||||||
|
|
||||||
\li In the \uicontrol Name field, enter a name for the application.
|
\li In the \uicontrol Name field, enter a name for the application.
|
||||||
@@ -12,14 +12,9 @@
|
|||||||
files, and then select \uicontrol Next (or \uicontrol Continue on
|
files, and then select \uicontrol Next (or \uicontrol Continue on
|
||||||
\macos).
|
\macos).
|
||||||
|
|
||||||
\li In the \uicontrol {Minimal required Qt version} field, select
|
\li In the \uicontrol {Qt Quick Controls 2 Style} field, select one of
|
||||||
\uicontrol {Qt 5.4}, or later.
|
the predefined \l{Styling Qt Quick Controls 2}{UI styles} to use,
|
||||||
|
and then select \uicontrol Next.
|
||||||
\li Deselect the \uicontrol {Enable native styling} check box to keep
|
|
||||||
the application size small. Enabling native styling would create
|
|
||||||
a dependency to the Qt Widgets module.
|
|
||||||
|
|
||||||
\li Select \uicontrol Next.
|
|
||||||
|
|
||||||
\li Select \l{glossary-buildandrun-kit}{kits} for the platforms that
|
\li Select \l{glossary-buildandrun-kit}{kits} for the platforms that
|
||||||
you want to build the application for. To build applications for
|
you want to build the application for. To build applications for
|
||||||
|
|||||||
@@ -50,55 +50,54 @@
|
|||||||
a QQuickView. You can build the application and deploy it to desktop,
|
a QQuickView. You can build the application and deploy it to desktop,
|
||||||
embedded, and mobile target platforms.
|
embedded, and mobile target platforms.
|
||||||
|
|
||||||
\li \uicontrol {Qt Quick Controls 2 Application} and
|
\li \uicontrol {Qt Quick Controls 2 Application} is like
|
||||||
\uicontrol {Qt Quick Controls Application} are like
|
|
||||||
\uicontrol {Qt Quick Application}, but using
|
\uicontrol {Qt Quick Application}, but using
|
||||||
\l{http://doc.qt.io/qt-5/qtquickcontrols2-index.html}
|
\l{http://doc.qt.io/qt-5/qtquickcontrols2-index.html}
|
||||||
{Qt Quick Controls 2} (requires Qt 5.7 or later) or
|
{Qt Quick Controls 2} (requires Qt 5.7 or later).
|
||||||
\l{http://doc.qt.io/qt-5/qtquickcontrols-index.html}
|
|
||||||
{Qt Quick Controls}.
|
|
||||||
|
|
||||||
\li \uicontrol {Qt Canvas 3D Application} creates a Qt Quick application
|
\li \uicontrol {Qt Canvas 3D Application} creates a Qt Quick application
|
||||||
that imports the Qt Canvas 3D module and, optionally, includes
|
that imports the Qt Canvas 3D module and, optionally, includes
|
||||||
\l{http://threejs.org}{three.js}.
|
\l{http://threejs.org}{three.js}.
|
||||||
|
|
||||||
\li \uicontrol {Qt Quick UI} (in the \uicontrol {Other Project}
|
\li \uicontrol {Qt Quick 2 UI} (in the \uicontrol {Other Project}
|
||||||
category) creates a Qt Quick UI project with a single QML file that
|
category) creates a Qt Quick UI project with a single QML file that
|
||||||
contains the main view. You can review Qt Quick UI projects in a
|
contains the main view. You can review Qt Quick 2 UI projects in the
|
||||||
\l{Previewing QML Files}{preview tool} and you need not build them.
|
\l{Previewing QML Files}{QML Scene preview tool}. You do not need to
|
||||||
They do not contain any C++ code.
|
build them, because they do not contain any C++ code.
|
||||||
|
|
||||||
\li \uicontrol {Qt Quick Extension Plugins} (in the \uicontrol Library category)
|
\li \uicontrol {Qt Quick 2 Extension Plugin} (in the \uicontrol Library 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 2 applications.
|
||||||
\uicontrol {Qt Quick 1 Extension Plugin} to create extensions for
|
|
||||||
Qt Quick 1 applications and \uicontrol {Qt Quick 2 Extension Plugin} to
|
|
||||||
create extensions for Qt Quick 2 applications.
|
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
\note The SDK for a particular target platform might install additional
|
||||||
|
templates for that platform. For example, the QNX templates are installed
|
||||||
|
as part of the QNX SDK.
|
||||||
|
|
||||||
|
\QC creates the necessary boilerplate files. Some of the files are
|
||||||
|
specific to a particular target platform.
|
||||||
|
|
||||||
\section1 Creating Qt Quick Applications
|
\section1 Creating Qt Quick Applications
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
||||||
\uicontrol Application > \uicontrol {Qt Quick Application} or
|
\uicontrol Application > \uicontrol {Qt Quick Application} >
|
||||||
\uicontrol {Qt Quick Controls 2 Application} > \uicontrol Choose.
|
\uicontrol Choose.
|
||||||
|
|
||||||
\li For some Qt Quick applications, you must select the Qt version to
|
\li Select the Qt version to
|
||||||
develop with in the \uicontrol {Minimal required Qt version} field.
|
develop with in the \uicontrol {Minimal required Qt version} field.
|
||||||
The Qt version determines the Qt Quick imports that are used in the
|
The Qt version determines the Qt Quick imports that are used in the
|
||||||
QML files.
|
QML files.
|
||||||
|
|
||||||
\li For some Qt Quick applications, you can select the
|
\li Select the
|
||||||
\uicontrol {With .ui.qml file} check box to create an UI
|
\uicontrol {With .ui.qml file} check box to create an UI
|
||||||
form that can contain a subset of the QML language. Similarly as
|
form that can contain a subset of the QML language. Similarly as
|
||||||
with the UI forms for \QD, it is recommended that you use \QMLD to
|
with the UI forms for \QD, it is recommended that you use \QMLD to
|
||||||
edit the UI forms. For more information, see \l{Qt Quick UI Forms}.
|
edit the UI forms. For more information, see \l{Qt Quick UI Forms}.
|
||||||
|
|
||||||
\li For some Qt Quick applications, you can also select the
|
\li Select \uicontrol Next (or \uicontrol Continue on \macos).
|
||||||
\uicontrol {Enable native styling} check box. \QC adds a dependency
|
|
||||||
to the Qt Widgets module to the \c .pro file.
|
|
||||||
|
|
||||||
\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 \uicontrol Next.
|
your project, and then click \uicontrol Next.
|
||||||
@@ -112,20 +111,21 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\note The SDK for a particular target platform might install additional
|
\QC generates a UI file, \e Page1Form.ui.qml, that you can modify in the
|
||||||
templates for that platform. For example, the QNX templates are installed
|
\QMLD \uicontrol {Form Editor} and two QML files, \e Page1.qml and
|
||||||
as part of the QNX SDK.
|
\e main.qml, that you can modify in the \uicontrol {Text Editor} to add the
|
||||||
|
application logic. The \e .ui.qml file is created if you selected the
|
||||||
|
\uicontrol {With .ui.qml file} check box.
|
||||||
|
|
||||||
\QC creates the necessary boilerplate files. Some of the files are
|
\include creator-tutorial-create-qq-project.qdocinc
|
||||||
specific to a particular target platform.
|
|
||||||
|
|
||||||
\section1 Creating Qt Quick UI Projects
|
\section1 Creating Qt Quick UI Projects
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
|
|
||||||
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
\li Select \uicontrol File > \uicontrol {New File or Project} >
|
||||||
\uicontrol {Other Project} > \uicontrol {Qt Quick UI} or
|
\uicontrol {Other Project} > \uicontrol {Qt Quick UI} >
|
||||||
\uicontrol {Qt Quick Controls UI} > \uicontrol Choose.
|
\uicontrol Choose.
|
||||||
|
|
||||||
\li In the \uicontrol {Minimal required Qt version} field, select the Qt
|
\li In the \uicontrol {Minimal required Qt version} field, select the Qt
|
||||||
version to develop with. The Qt version determines the Qt Quick
|
version to develop with. The Qt version determines the Qt Quick
|
||||||
@@ -138,6 +138,11 @@
|
|||||||
\li Select the \uicontrol {With .ui.qml file} check box to create an UI
|
\li Select the \uicontrol {With .ui.qml file} check box to create an UI
|
||||||
form.
|
form.
|
||||||
|
|
||||||
|
\li Select \uicontrol Next (or \uicontrol Continue on \macos).
|
||||||
|
|
||||||
|
\li Review the project settings, and click \uicontrol Finish (on Windows
|
||||||
|
and Linux) or \uicontrol Done (on \macos) to create the project.
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\QC creates the following files:
|
\QC creates the following files:
|
||||||
|
|||||||
Reference in New Issue
Block a user