diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-01-27 15:58:22 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-01 05:18:37 +0100 |
commit | f3707610776d3a1e9d92d136b92b66ff66fefb7f (patch) | |
tree | 8a9dcd70a6ebed43f084f9b2097f617452e30c1f /doc | |
parent | f0850e45b764f97a814f3295297206ae3e0c11b0 (diff) |
Document QRC restriction.
Task-number: QTBUG-23362
Change-Id: If4793a2224f2fdbe44df346c762cd061f8471b77
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/basictypes.qdoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/declarative/basictypes.qdoc b/doc/src/declarative/basictypes.qdoc index 7d707e0ce0..80576f63ab 100644 --- a/doc/src/declarative/basictypes.qdoc +++ b/doc/src/declarative/basictypes.qdoc @@ -154,6 +154,11 @@ Image { source: "pics/logo.png" } \endqml + Note that as QML requires URL paths, you should use "qrc:///" instead of ":/" for + referring to files stored with the \l{resources.html}{Qt Resource System}. + Usually you will only have to do this once, because relative URLs resolved from + that file will use the same protocol. + \sa {QML Basic Types} */ |