forked from qt-creator/qt-creator
Doc: using QML Scene for Qt 5 and Qt Quick 2
Task-number: QTCREATORBUG-8170 Change-Id: I2d1a2635b1efe820390084d20712c1fd9961276e Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
\title Using External Tools
|
\title Using External Tools
|
||||||
|
|
||||||
You can use external tools directly from \QC. Qt Linguist,
|
You can use external tools directly from \QC. Qt Linguist,
|
||||||
QML Viewer, the
|
QML preview tools, the
|
||||||
default text editor for your system, and the \c sort tool are preconfigured
|
default text editor for your system, and the \c sort tool are preconfigured
|
||||||
for use. You can change their default configurations and configure new
|
for use. You can change their default configurations and configure new
|
||||||
tools.
|
tools.
|
||||||
@@ -59,14 +59,14 @@
|
|||||||
\l{http://qt-project.org/doc/qt-4.8/linguist-manual.html}
|
\l{http://qt-project.org/doc/qt-4.8/linguist-manual.html}
|
||||||
{Qt Linguist Manual}.
|
{Qt Linguist Manual}.
|
||||||
|
|
||||||
\section1 Using QML Viewer
|
\section1 Previewing QML Files
|
||||||
|
|
||||||
You can preview the current QML document in the QML Viewer. The QML Viewer
|
You can preview the current QML document in the QML Viewer (Qt Quick 1) or
|
||||||
invokes the QML runtime to load QML documents and also includes additional
|
QML Scene (Qt Quick 2). The preview tools enable you to load QML documents
|
||||||
features useful for the development of QML-based applications.
|
for viewing and testing while you are developing an application.
|
||||||
|
|
||||||
To preview the currently active QML file, select \gui {Tools > External >
|
To preview the currently active QML file, select \gui Tools > \gui External
|
||||||
Qt Quick > Preview (qmlviewer)}.
|
> \gui {Qt Quick} > \gui {Preview (qmlviewer)} or \gui {Preview (qmlscene)}.
|
||||||
|
|
||||||
\section1 Using External Text Editors
|
\section1 Using External Text Editors
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,8 @@
|
|||||||
\o \l{Using External Tools}
|
\o \l{Using External Tools}
|
||||||
|
|
||||||
You can use external tools directly from \QC. Qt Linguist,
|
You can use external tools directly from \QC. Qt Linguist,
|
||||||
QML Viewer, the default text editor for your system, and the \c sort
|
QML preview tools (QML Viewer and QML Scene), the default text
|
||||||
|
editor for your system, and the \c sort
|
||||||
tool are preconfigured for use. You can change their default
|
tool are preconfigured for use. You can change their default
|
||||||
configurations and configure new tools.
|
configurations and configure new tools.
|
||||||
|
|
||||||
|
|||||||
@@ -141,8 +141,9 @@
|
|||||||
|
|
||||||
\o Qt Quick UI
|
\o Qt Quick UI
|
||||||
|
|
||||||
Use a single QML file that contains the main view. You can run
|
Use a single QML file that contains the main view. You can
|
||||||
Qt Quick UI projects in the QML Viewer and you need not build
|
review Qt Quick UI projects in a \l{Previewing QML Files}
|
||||||
|
{preview tool} and you need not build
|
||||||
them. You do not need to have the development environment
|
them. You do not need to have the development environment
|
||||||
installed on your computer to create and run this type of
|
installed on your computer to create and run this type of
|
||||||
projects
|
projects
|
||||||
|
|||||||
@@ -59,7 +59,8 @@
|
|||||||
develop for platforms that run Qt 5.
|
develop for platforms that run Qt 5.
|
||||||
\o \gui {Qt Quick UI} creates a Qt Quick UI project with a single QML
|
\o \gui {Qt Quick UI} creates a Qt Quick UI project with a single QML
|
||||||
file that contains the main view. You can review Qt Quick UI
|
file that contains the main view. You can review Qt Quick UI
|
||||||
projects in the QML Viewer and you need not build them. You do not
|
projects in a \l{Previewing QML Files}{preview tool} and you need
|
||||||
|
not build them. You do not
|
||||||
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 projects.
|
computer to create and run this type of projects.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user