Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
did you find a solution for this? – Shade Jan 14 '13 at 10:48

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.