QML Basic Type: urlA URL is a resource locator, like a file name. It can be either absolute, e.g. "http://qt.nokia.com", or relative, e.g. "pics/logo.png". A relative URL is resolved relative to the URL of the component where the URL is converted from a JavaScript string expression to a url property value. Example: Image { source: "pics/logo.png" } Note that as QML requires URL paths, you should use "qrc:///" instead of ":/" for referring to files stored with the Qt Resource System. Usually you will only have to do this once, because relative URLs resolved from that file will use the same protocol. See also QML Basic Types. |