summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2014-06-24 15:56:25 +0200
committerJerome Pasion <jerome.pasion@digia.com>2014-06-25 11:37:48 +0200
commit9263fd209c61542096ddaf22d18bf4b53d0bf6b5 (patch)
tree7f2be9b5739a93484f3d0d8c8a990c39093b88a9
parentded68cd60a4acfd06cb1bfe673525eea4df3a377 (diff)
downloadqtdoc-9263fd209c61542096ddaf22d18bf4b53d0bf6b5.tar.gz
Doc: Added information about required QML library directories.
-mentioned QT_INSTALL_QML in deployment article. -pointed to existing documentation and Qt Creator manual. -WS and section fixes to accommodate new section. Task-number: QTBUG-33296 Change-Id: Ic18d65a2323b4e5a8dd01a6f4f4fe436c7555c75 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
-rw-r--r--doc/src/qmlapp/deployment.qdoc46
1 files changed, 29 insertions, 17 deletions
diff --git a/doc/src/qmlapp/deployment.qdoc b/doc/src/qmlapp/deployment.qdoc
index 4795b2f6..d83eaf30 100644
--- a/doc/src/qmlapp/deployment.qdoc
+++ b/doc/src/qmlapp/deployment.qdoc
@@ -31,7 +31,6 @@
\brief Deploying QML applications
-
QML documents are loaded and executed by the QML runtime. This includes the
Declarative UI engine along with the built-in QML types and plugin modules,
and it also provides access to third-party QML types and modules.
@@ -43,11 +42,36 @@ package includes the qmlscene tool, which loads \c .qml files. This tool is
useful for developing and testing QML code without the need to write
a C++ application to load the QML runtime.
+\section1 Deploying Applications with Qt Creator
+
+\l{Qt Creator Manual}{Qt Creator} deploys and packages QML applications to
+various platforms. For mobile devices, Qt Creator can directly bundle
+applications to the respective platform package formats such as APK and BAR.
+
+For more information, visit:
+\list
+\li \l{Deploying Qt Applications}
+\li \l{Qt Creator: Running on Multiple Platforms}{Running on Multiple Platforms}
+\li \l{Qt Creator: Deploying to Mobile Devices}{Deploying to Mobile Devices}
+\endlist
+
+When running applications on the target platform, the application needs to
+access the location of the QML libraries. When using \l{qmake Manual}{qmake},
+the \c QT_INSTALL_QML environment points to the location of the libraries.
+The \l{Downloads}{Qt Installers} install the QML libraries in
+\e{<version>}\c{/}\e{<compiler>}\c{/qml} directory.
+\section1 Prototyping with QML Scene
+
+The Declarative UI package includes a QML runtime tool,
+\l{qtquick-qmlscene.html}{qmlscene}, which loads and displays QML documents.
+This is useful during the application development phase for prototyping
+QML-based applications without writing your own C++ applications to invoke
+the QML runtime.
-\section1 Deploying QML-based applications
+\section1 Initializing the QML Runtime in Applications
-To deploy an application that uses QML, the QML runtime must be invoked by
+To run an application that uses QML, the QML runtime must be invoked by
the application. This is done by writing a Qt C++ application that loads the
QQmlEngine by either:
@@ -57,7 +81,7 @@ QQmlEngine by either:
\endlist
-\section2 Deploying with QQuickView
+\section2 Initializing with QQuickView
QQuickView is a QWindow-based class that is able to load QML files.
For example, if there is a QML file, \c application.qml, it will
@@ -137,19 +161,7 @@ See \l{qtqml-cppintegration-data.html}{qtqml-cppintegration-exposecppattributes.
for more information about using QQmlEngine, QQmlContext and QQmlComponent, as well
as details on including QML files through \l{The Qt Resource System}{Qt's Resource system}.
-
-
-\section1 Developing and Prototyping with QML Scene
-
-The Declarative UI package includes a QML runtime tool,
-\l{qtquick-qmlscene.html}{qmlscene}, which loads and displays QML documents.
-This is useful during the application development phase for prototyping
-QML-based applications without writing your own C++ applications to invoke
-the QML runtime.
-
-
-
-\section1 Managing resource files with the Qt resource system
+\section1 Managing Resource Files with the Qt Resource System
The \l {The Qt Resource System}{Qt resource system} allows resource files to be stored as
binary files in an application executable. This can be useful when building a mixed