Skip to content

Commit

Permalink
Document QRC restriction.
Browse files Browse the repository at this point in the history
Task-number: QTBUG-23362

Change-Id: If4793a2224f2fdbe44df346c762cd061f8471b77
Reviewed-by: Martin Jones <martin.jones@nokia.com>
  • Loading branch information
Alan Alpert authored and Qt by Nokia committed Feb 1, 2012
1 parent f0850e4 commit f370761
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/src/declarative/basictypes.qdoc
Expand Up @@ -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}
*/

Expand Down

0 comments on commit f370761

Please sign in to comment.