diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-22 02:44:39 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-22 02:50:49 (GMT) |
commit | 9a40a3e76171c06d32ab4cadf700f6504dada129 (patch) | |
tree | 9ebcdc9276e3e027f8ff3ac07d56fd4cc893bd4e /doc | |
parent | 5bcf21e6bbbfa2c990197695963caba25530827c (diff) | |
download | Qt-9a40a3e76171c06d32ab4cadf700f6504dada129.zip Qt-9a40a3e76171c06d32ab4cadf700f6504dada129.tar.gz Qt-9a40a3e76171c06d32ab4cadf700f6504dada129.tar.bz2 |
Give error on attempt to import types from too-early version number.
eg. "import Qt 4.6" not valid.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/qtdeclarative.qdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/declarative/qtdeclarative.qdoc b/doc/src/declarative/qtdeclarative.qdoc index 5d1e18f..670a218 100644 --- a/doc/src/declarative/qtdeclarative.qdoc +++ b/doc/src/declarative/qtdeclarative.qdoc @@ -91,6 +91,10 @@ qmlRegisterType<MinehuntGame>("MinehuntCore", 0, 1, "Game"); \endcode + Note that it's perfectly reasonable for a library to register types to older versions + than the actual version of the library. Indeed, it is normal for the new library to allow + QML written to previous versions to continue to work, even if more advanced versions of + some of its types are available. */ /*! |