Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.