Qt Reference Documentation

QML Basic Type: url

A 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.


 Image { source: "pics/logo.png" }

See also QML Basic Types.