Hello forum,
I have started QML with Qt 5.2.1 and stumbled upon the following code snippet found in the documentation:
Qt Code:
import QtQuick 2.0 Rectangle { color: "#00B000" width: 80; height: 80 } Rectangle { color: "steelblue" y: 100; width: 80; height: 80 }To copy to clipboard, switch view to plain text mode
I am getting error with second rectangle as syntax error.
Is there anything wrong in the hierarchy ? I did not make any changes.
Thanks
Bookmarks