aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/basictypes.qdoc5
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}
*/