Elaborate on versioning docs
authorAlan Alpert <aalpert@blackberry.com>
Mon, 22 Apr 2013 22:35:28 +0000 (15:35 -0700)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 1 May 2013 17:53:40 +0000 (19:53 +0200)
Task-number: QTBUG-30808
Change-Id: I1930bd91a6c2089047ac7e7d74da2c977c522e07
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/qml/doc/src/qmllanguageref/modules/qmldir.qdoc

index de3698c..405ba3f 100644 (file)
@@ -223,6 +223,11 @@ cannot be used if an earlier version is imported. If the client had imported
 version 1.0 of the module, they can use the \c MyButton type but \b not the
 \c MyWindow type.
 
+A version cannot be imported if no types have been explicitly exported for that
+version. If a module provides a \c MyButton type in version 1.0 and a
+\c MyWindow type in version 1.1, you cannot import version 1.2 or version 2.0 of
+that module.
+
 A type can be defined by different files in different versions. In this case,
 the most closely matching version will be used when imported by clients.
 For example, if a module had specified the following types via its \c qmldir