diff options
author | mae <qt-info@nokia.com> | 2010-03-18 14:54:02 (GMT) |
---|---|---|
committer | mae <qt-info@nokia.com> | 2010-03-19 15:18:53 (GMT) |
commit | d039e2e8307bd272eedc5beae4ecf1a14e47def5 (patch) | |
tree | 992d9b32eb494c3636ac7b09ecb6442d4ea0441f /doc/src | |
parent | 7ac2e0cf47628c5a7ea08a5e3058c8bc55fbdd46 (diff) | |
download | Qt-d039e2e8307bd272eedc5beae4ecf1a14e47def5.zip Qt-d039e2e8307bd272eedc5beae4ecf1a14e47def5.tar.gz Qt-d039e2e8307bd272eedc5beae4ecf1a14e47def5.tar.bz2 |
Fix local type lookup
This change removes the hacky final baseUrl+TypeName+".qml" lookup.
In order to still support internal files in remote modules, a new
qmldir keyword "internal" is introduced.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/declarative/modules.qdoc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/declarative/modules.qdoc b/doc/src/declarative/modules.qdoc index ab75f8d..53de32c 100644 --- a/doc/src/declarative/modules.qdoc +++ b/doc/src/declarative/modules.qdoc @@ -143,6 +143,13 @@ since the \e first name-version match is used. Installed files do not need to import the module of which they are a part, as they can refer to the other QML files in the module as relative (local) files. +If the module is imported from a remote location, those files must nevertheless be listed in +the \c qmldir file. Internal files can be marked with the \c internal keyword, to ensure +they are not visible outside the module: + +\code +internal <TypeName> <File> +\endcode Installed and remote files \e must be referred to by version information described above, local files \e may have it. |