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!"
}
}
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!"
}
}
To copy to clipboard, switch view to plain text mode
This, when run with qmlviewer, says:
Syntax error Rectangle {
^
Syntax error Rectangle {
^
To copy to clipboard, switch view to plain text mode
What's the way out?
Bookmarks