MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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.

Example:

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

See also QML Basic Types.