Document QRC restriction.
authorAlan Alpert <alan.alpert@nokia.com>
Fri, 27 Jan 2012 05:58:22 +0000 (15:58 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 1 Feb 2012 04:18:37 +0000 (05:18 +0100)
Task-number: QTBUG-23362

Change-Id: If4793a2224f2fdbe44df346c762cd061f8471b77
Reviewed-by: Martin Jones <martin.jones@nokia.com>
doc/src/declarative/basictypes.qdoc

index 7d707e0..80576f6 100644 (file)
     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}
 */