diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-01 03:38:28 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-01 03:38:28 (GMT) |
commit | e60100c33e9b2b868350e588157de79fd1cb8a7e (patch) | |
tree | 53050221483e0663c683cc0150f6125ecf2006e5 /doc | |
parent | b1748ec7a9fdcd74fcf05af3903623c7165420ad (diff) | |
download | Qt-e60100c33e9b2b868350e588157de79fd1cb8a7e.zip Qt-e60100c33e9b2b868350e588157de79fd1cb8a7e.tar.gz Qt-e60100c33e9b2b868350e588157de79fd1cb8a7e.tar.bz2 |
import "." first - i.e. override it by everything else.
Otherwise, simple things break, like having "image.qml" on a case-insensitive file system.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/modules.qdoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/declarative/modules.qdoc b/doc/src/declarative/modules.qdoc index 6b2e64e..d476d6f 100644 --- a/doc/src/declarative/modules.qdoc +++ b/doc/src/declarative/modules.qdoc @@ -169,8 +169,10 @@ import Ovi 1.0 as Nokia While import statements are needed to make any types available in QML, the directory of the current file is implicitly loaded. This is the exact same as if you had added 'import "."' to -every QML file. The effect of this is that you can automatically use types defined in C++ plugins -or QML files if they reside in the same directory. +the start of every QML file. The effect of this is that you can automatically use types defined in C++ plugins +or QML files if they reside in the same directory. This is the last location searched for types - so if you +happen to have a "Text.qml" file, or "text.qml" on case-insensitive file systems, it will not override +the one from Qt if you import Qt. */ |