diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-02-08 22:09:43 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-02-08 22:09:43 (GMT) |
commit | dec972419b5758601d177bbbae0a3a1fe890824d (patch) | |
tree | 19d78f1951e3d6c80e1e67850dc35483a270b107 /doc/src | |
parent | 8fc05466a50bcf255900849d787790abd2bf6957 (diff) | |
parent | dd49b322b327fe87d8420abcce0e6cee877a88d7 (diff) | |
download | Qt-dec972419b5758601d177bbbae0a3a1fe890824d.zip Qt-dec972419b5758601d177bbbae0a3a1fe890824d.tar.gz Qt-dec972419b5758601d177bbbae0a3a1fe890824d.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Support seperate versions of installed modules
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/declarative/modules.qdoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/declarative/modules.qdoc b/doc/src/declarative/modules.qdoc index 3bb69da..d8797ea 100644 --- a/doc/src/declarative/modules.qdoc +++ b/doc/src/declarative/modules.qdoc @@ -134,6 +134,15 @@ Installed modules that are installed into the import path or created as a \l{QDeclarativeExtensionPlugin}{QML C++ plugin} must define a \l{Writing a qmldir file}{qmldir file}. +Modules that are installed into the import path translate the URI into +directory names. For example, the qmldir file of the module \c com.nokia.qml.mymodule +must be located in the subpath \c com/nokia/qml/mymodule/qmldir somewhere in the +QML import path. In addition it is possible to store different versions of the +module in subdirectories of its own. For example, a version 2.1 of the +module could be located under \c com/nokia/qml/mymodule.2/qmldir or +\c com/nokia/qml/mymodule.2.1/qmldir. The engine will automatically load +the module which matches best. + \section2 The QML import path |