diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-06-07 02:32:02 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-06-07 02:32:02 (GMT) |
commit | 2613a33d957ae2b274364672ee5280b6317b71b0 (patch) | |
tree | eebd63f158267bffdf55e9a32be3a5128ad154f1 /doc/src/declarative/extending.qdoc | |
parent | c785e5db81f51e7ed5feb20cc24f967c42f37af8 (diff) | |
download | Qt-2613a33d957ae2b274364672ee5280b6317b71b0.zip Qt-2613a33d957ae2b274364672ee5280b6317b71b0.tar.gz Qt-2613a33d957ae2b274364672ee5280b6317b71b0.tar.bz2 |
Improve docs about Qml component case sensitivity.
Task-number: QTBUG-11253
Diffstat (limited to 'doc/src/declarative/extending.qdoc')
-rw-r--r-- | doc/src/declarative/extending.qdoc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/src/declarative/extending.qdoc b/doc/src/declarative/extending.qdoc index 574b0b2..173fb6d 100644 --- a/doc/src/declarative/extending.qdoc +++ b/doc/src/declarative/extending.qdoc @@ -896,9 +896,13 @@ in other projects without the use of C++. Components can also help to reduce duplication inside one project by limiting the need for large numbers of copy-and-pasted blocks. -Any snippet of QML code can become a component, just by placing it in the file -"<Name>.qml" where <Name> is the new element name, and begins with an uppercase -letter. These QML files automatically become available as new QML element types +Any snippet of QML code can become a component, just by placing it in the file "<Name>.qml" +where <Name> is the new element name, and begins with an uppercase letter. Note that +the case of all characters in the <Name> are significant on some filesystems, notably +UNIX filesystems. It is recommended that the case of the filename matches the case of +the component name in QML exactly, regardless of the platform the QML will be deployed to. + +These QML files automatically become available as new QML element types to other QML components and applications in the same directory. For example, here we show how a component named "Box" is defined and used |