import QtQuick 2.0
Item
{
id : mainWindow
width : 1024
height : 768
QtObject
{
id: anisha
property url theme;
}
anisha.theme: "ddsad";
}
import QtQuick 2.0
Item
{
id : mainWindow
width : 1024
height : 768
QtObject
{
id: anisha
property url theme;
}
anisha.theme: "ddsad";
}
To copy to clipboard, switch view to plain text mode
Error:
Cannot assign to non-existent property "anisha"
anisha.theme: "ddsad";
Cannot assign to non-existent property "anisha"
anisha.theme: "ddsad";
To copy to clipboard, switch view to plain text mode
What is the way to use QtObject?
Bookmarks