1

Running the Currencyconverter tutorial "itemstyle" in the following line is underlined with red:

ItemStyle.class: "title"

with an error "invalid property name"

How to fix this error?

1
  • did you find a solution for this?
    – Shade
    Jan 14, 2013 at 10:48

1 Answer 1

0

You can fix the invalid property name if you import the Ubuntu.Components as Theming:

import QtQuick 2.0
import Ubuntu.Components 0.1
import Ubuntu.Components 0.1 as Theming

However, the fact that the editor shows it underlined with red does not mean it doesn't work - it works just fine even if it's red. I think this is related to the fact that all of the stuff is alpha/beta currently and not really that well integrated.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .