Hi Jamie, You still need to use Qt.resolveurl with image://theme. Works for me on a ToobarButton on the device. On 7 Jan 2014 14:19, "Jamie Strandboge" <[email protected]> wrote:
> On 01/07/2014 08:09 AM, Michał Sawicz wrote: > > On 07.01.2014 14:37, Jamie Strandboge wrote: > >> Is there a trick to using this with ToolbarButton? > > > > The themed icons are always available under: > > > > image://theme/name > > > > So this should work: > > > > iconSource: "image://theme/reload" > > > Thanks! This technique does seem to work for the ToolbarButton, however > DESKTOP_SESSION is not honored. Eg, on desktop I still get the Ambient > icon with > this: > > DESKTOP_SESSION=ubuntu-mobile qmlscene ./*qml > > Perhaps this is a bug? > > -- > Jamie Strandboge http://www.ubuntu.com/ > > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > Post to : [email protected] > Unsubscribe : https://launchpad.net/~ubuntu-phone > More help : https://help.launchpad.net/ListHelp > >
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

