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!"
}
}
这个,当运行时qmlviewer
,说:
Syntax error
矩形 {
^
出路是什么?