aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-04-18 16:21:29 +0200
committerKai Koehne <kai.koehne@qt.io>2018-04-20 06:46:03 +0000
commitbff9a9a47ee501b6f8479d472ba7909766ee62e7 (patch)
tree3a3fd4cfa84b14804064f7958145b378187c5d9b
parent54f3b6fbbd95ba06b742ced902b4507177fcf654 (diff)
Document latest QtQuick.Particles import version to be 2.11
Since commit 214fbaa57b73296a0 the latest minor version of the import is automatically the Qt minor version, so let's also document this. Change-Id: I9443be62da5cc9fc281e167f38fa299c73115eda Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--src/imports/particles/particles.pro2
-rw-r--r--src/quick/doc/src/concepts/effects/particles.qdoc6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/imports/particles/particles.pro b/src/imports/particles/particles.pro
index 4460d03a04..41146c75b0 100644
--- a/src/imports/particles/particles.pro
+++ b/src/imports/particles/particles.pro
@@ -1,7 +1,7 @@
CXX_MODULE = qml
TARGET = particlesplugin
TARGETPATH = QtQuick/Particles.2
-IMPORT_VERSION = 2.0
+IMPORT_VERSION = 2.$$QT_MINOR_VERSION
SOURCES += \
plugin.cpp
diff --git a/src/quick/doc/src/concepts/effects/particles.qdoc b/src/quick/doc/src/concepts/effects/particles.qdoc
index 0de0aa93ad..59f9c0db83 100644
--- a/src/quick/doc/src/concepts/effects/particles.qdoc
+++ b/src/quick/doc/src/concepts/effects/particles.qdoc
@@ -26,14 +26,14 @@
****************************************************************************/
/*!
- \qmlmodule QtQuick.Particles 2
+ \qmlmodule QtQuick.Particles 2.11
\title Qt Quick Particles QML Types
\ingroup qmlmodules
\brief Provides QML types for particle effects
This QML module contains a particle system for Qt Quick. To use these types, import the module with the following line:
\code
- import QtQuick.Particles 2.0
+ import QtQuick.Particles 2.11
\endcode
For a simple overview of how the system can be used, see \l{Using the Qt Quick Particle System}.
@@ -50,7 +50,7 @@
Note that to use types from the particles module, you will need to import the types with the following line:
\code
- import QtQuick.Particles 2.0
+ import QtQuick.Particles 2.11
\endcode
\section1 The ParticleSystem