import QtQuick 1.0
Rectangle
{
id: sas
width: 200
height: 100
color: "red"
Text
{
anchors.centerIn: parent
text: "Hello, World!"
}
}
Rectangle
{
id: sasas
width: 200
height: 100
color: "red"
Text
{
anchors.centerIn: parent
text: "Hello,fdsfdsf!"
}
}
This, when run with qmlviewer
, says:
Syntax error
Rectangle {
^
What's the way out?