Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
4.7.0
-
None
-
Running on Nokia's N8 phone.
Description
The following works correctly on Windows platform: a rectangle will be drawn at the touch or click position every time I touch on the screen. However, this does not work on N8.
import Qt 4.7
Rectangle {
id: p
width: 200
height: 200
Text
MouseArea {
anchors.fill: parent
onClicked: {
var component;
var rect;
rect = Qt.createQmlObject('import Qt 4.7; Rectangle
color: Color value is invalid
',
p, "dynamicSnippet1");
rect.x = mouse.x;
rect.y = mouse.y;
rect.width = 3;
rect.height = 3;
mytext.text = "rect changed";
}
}
}