I'm actually on Trusty, and I want to try new "head" property which comes with API 14.10 of Ubuntu SDK.
When I launch qmlscene to test my applicaton, I get this error :
Cannot assign to non-existent property "head"
I imported this on my qml file :
import QtQuick 2.2
import Ubuntu.Components 1.1
Thanks for your help.
EDIT : Example of code
import Ubuntu.Components 1.1
import QtQuick 2.2
MainView {
width: units.gu(50)
height: units.gu(80)
useDeprecatedToolbar: false
Page {
id: page
title: "Sections"
head {
sections {
model: ["one", "two", "three"]
}
}
Label {
anchors.centerIn: parent
text: "Section " + page.head.sections.selectedIndex
}
}
}