summaryrefslogtreecommitdiffstats
path: root/src/scxml/doc/qtscxml-index.qdoc
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2019-04-11 12:17:10 +0200
committerKai Koehne <kai.koehne@qt.io>2019-04-12 06:07:41 +0000
commit686e2ace41f4e0c8ec89b5864f898bf2ac561c5e (patch)
treeb4472c79b1c5635dfd0b4ab79b01568f68969d26 /src/scxml/doc/qtscxml-index.qdoc
parent6581f5911eb1dec25fa4870aae8e70a58b6e8dfd (diff)
Automatically register the latest import version
This follows what was done in d28c9f6a for Qt Quick Controls 2. The latest import version (e.g. 1.14 in Qt 5.14) will automatically be registered whenever the Qt version is bumped. This avoids needing to wait until a new type is added (or a new revision is added to an existing type) before being able to use the newest Qt Quick version. Change-Id: Ibe271d4814032fe758545abd31573220ed84b5f8 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/scxml/doc/qtscxml-index.qdoc')
-rw-r--r--src/scxml/doc/qtscxml-index.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scxml/doc/qtscxml-index.qdoc b/src/scxml/doc/qtscxml-index.qdoc
index 7fd77bb..b65a1c2 100644
--- a/src/scxml/doc/qtscxml-index.qdoc
+++ b/src/scxml/doc/qtscxml-index.qdoc
@@ -48,9 +48,9 @@
To import the QML types into your application, use the following import statement
in your .qml file:
- \code
- import QtScxml 5.8
- \endcode
+ \qml \QtMinorVersion
+ import QtScxml 5.\1
+ \endqml
To link against the module, add this line to your qmake .pro file: