cg40k
January 24th, 2013, 07:13 PM
So doing the Ubuntu App Developer tutorial and get
file:///home/chris/CurrencyConverter/CurrencyConverter.qml:1:1: module "QTQuick" is not installed
import QTQuick 2.0
after I run this
import QTQuick 2.0
import Ubuntu.Components 0.1
Rectangle {
id:root
width: units.gu(60)
height: units.gu(80)
color: "lightgray"
property real margins: units.gu(2)
property real buttonWidth: units.gu(9)
Label {
id: title
ItemStyle.class: "title"
text: i18n.tr("Currency Converter")
height: contentHeight + root.margins
anchors {
left: parent.left
right: parent.right
top: parent.top
}
}
}
So I know I need QTQuick 2.0, but cant seem to figure out how to get it. I followed the instructions on the UbuntuAppDeveloper Tutorial, but still get this. Wondering if any could help.
file:///home/chris/CurrencyConverter/CurrencyConverter.qml:1:1: module "QTQuick" is not installed
import QTQuick 2.0
after I run this
import QTQuick 2.0
import Ubuntu.Components 0.1
Rectangle {
id:root
width: units.gu(60)
height: units.gu(80)
color: "lightgray"
property real margins: units.gu(2)
property real buttonWidth: units.gu(9)
Label {
id: title
ItemStyle.class: "title"
text: i18n.tr("Currency Converter")
height: contentHeight + root.margins
anchors {
left: parent.left
right: parent.right
top: parent.top
}
}
}
So I know I need QTQuick 2.0, but cant seem to figure out how to get it. I followed the instructions on the UbuntuAppDeveloper Tutorial, but still get this. Wondering if any could help.