summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-05-06 23:03:59 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-05-06 23:03:59 (GMT)
commit953d3fbe53e77261c57612aad35ffb34cde95ecb (patch)
tree819e559647632a46f92ab436f5f420b061517f84 /doc/src/declarative
parentb640dffcfb6fd2c493750ae29032a8beb47152b8 (diff)
downloadQt-953d3fbe53e77261c57612aad35ffb34cde95ecb.zip
Qt-953d3fbe53e77261c57612aad35ffb34cde95ecb.tar.gz
Qt-953d3fbe53e77261c57612aad35ffb34cde95ecb.tar.bz2
namespaces doc
Diffstat (limited to 'doc/src/declarative')
-rw-r--r--doc/src/declarative/components.qdoc16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/src/declarative/components.qdoc b/doc/src/declarative/components.qdoc
index 6564375..3b37c45 100644
--- a/doc/src/declarative/components.qdoc
+++ b/doc/src/declarative/components.qdoc
@@ -78,15 +78,15 @@ MyButton { label: "Reset"; onClicked: resetData() }
\section1 Placing .qml Files
-Component files should be placed in specific locations in order to be found by the Qml engine:
+When one component refers to a another, the second must be found either in the same directory
+as the first, or in a directory imported using the \c import statement:
-\list
-\o the run directory
-\o the run directory + "/qml"
-\o the directory of the Qml you are running
-\o the directory of the Qml you are running + "/qml"
-\endlist
+\code
+import "library"
+\endcode
+
+\section1 Namespaces
-In the future library-like directories will be defined (in the meantime the first two options above effectively serve this purpose).
+Namespaces for QML will be supported in Qt 4.6.
*/