aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2019-03-18 15:39:48 +0100
committerTopi Reiniƶ <topi.reinio@qt.io>2019-03-22 13:29:19 +0000
commite7ab193d855806d7333577ad7d9d15165d1b5cf8 (patch)
tree7c0227cb0d9f6649d1886d5c582bf4cce92c1bfd
parent53d133c517d8bec7e79d95cbd326cbc022d3b8c9 (diff)
Doc: Fix snippet to use latest version for QML import
Change-Id: I8098a28d82bd2f6b6ff722441c7ca6dcd4551cc2 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/effects/doc/src/overview-graphicaleffects.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effects/doc/src/overview-graphicaleffects.qdoc b/src/effects/doc/src/overview-graphicaleffects.qdoc
index bb10a7d..40d5c59 100644
--- a/src/effects/doc/src/overview-graphicaleffects.qdoc
+++ b/src/effects/doc/src/overview-graphicaleffects.qdoc
@@ -34,9 +34,9 @@
components. To import the Qt Graphical Effects types, include the Qt
Graphical Effects module by adding the following statement to the QML file:
- \code
- import QtGraphicalEffects 1.0
- \endcode
+ \qml \QtMinorVersion
+ import QtGraphicalEffects 1.\1
+ \endqml
To use the effects, simply add a specific effect declaration to the QML
scene and configure the effects properties. The source item type can be any