0) I've installed the raring dependencies as listed on http://developer.ubuntu.com/get-started/gomobile/
1) I've created new "Qt Quick 2 UI" (the tutorial has another issue where it just refers to "Qt Quick UI" but there are two choices available.
2) I've pasted the snippet from the currency converter app:
I'm following:
http:// developer. ubuntu. com/resources/ app-developer- cookbook/ mobile/ currency- converter- phone-app/
Specifically:
0) I've installed the raring dependencies as listed on http:// developer. ubuntu. com/get- started/ gomobile/
1) I've created new "Qt Quick 2 UI" (the tutorial has another issue where it just refers to "Qt Quick UI" but there are two choices available.
2) I've pasted the snippet from the currency converter app:
import QtQuick 2.0
import Ubuntu.Components 0.1
MainView { Name: "CurrencyConverter"
objectName: "mainView"
application
id: root
width: units.gu(60)
height: units.gu(80)
property real margins: units.gu(2)
property real buttonWidth: units.gu(9)
Label {
ItemStyle. class: "title"
id: title
text: i18n.tr("Currency Converter")
height: contentHeight + root.margins
anchors {
left: parent.left
right: parent.right
top: parent.top
}
}
}
3) I've started the application
What is wrong: the title bar is missing
What is expected same image as on the tutorial page