Hi all. At first no quick application possible. You told me to install qtdeclarative5-dev and qml-module-qtqick2. I did that. I have now Qtquick but I have a problem with my first code. Look please at line 9. Here is the code:
import QtQuick 2.5
import QtQuick.Window 2.2
Window {
visible: true
width: 360
height: 360
MouseArea {
anchors.fill: parent
onCliqued: {//Cannot assign to non-existent property "onCliqued"
Qt.quit();
}
}
Text {
id: text
text: qsTr("Hello World")
anchors.centerIn: parent
}
Rectangle {
id: rectangle1
x: 135
y: 50
width: 100
height: 100
color: "#ffff22"
MouseArea {
id: mouseArea1
anchors.fill: parent
onClicked: text.text = qsTr("Hi there ! ")
}
}
}
import QtQuick 2.5
import QtQuick.Window 2.2
Window {
visible: true
width: 360
height: 360
MouseArea {
anchors.fill: parent
onCliqued: {//Cannot assign to non-existent property "onCliqued"
Qt.quit();
}
}
Text {
id: text
text: qsTr("Hello World")
anchors.centerIn: parent
}
Rectangle {
id: rectangle1
x: 135
y: 50
width: 100
height: 100
color: "#ffff22"
MouseArea {
id: mouseArea1
anchors.fill: parent
onClicked: text.text = qsTr("Hi there ! ")
}
}
}
To copy to clipboard, switch view to plain text mode
I dont find how to tag the above code. Sorry. Look please at the commented line. Thanks
Bookmarks