Hi Manoj,

On 03/12/2012 11:27 AM, ext manoj jangra wrote:
> Hello All,
> I'm getting warnings (Unable to assign [undefined] to QString text) 
> while trying to load data into a gridmenu in QML from C++ files.
> In QML file I load this data by declaring source as 
> "source:model.image". and set the model data from C++ file.
> Data is loaded successfully but I'm getting warnings as mentioned above.
> Can anyone please help me out in getting rid of these warnings??
You might want to check in the binding if the string value you try to 
assign is valid.
eg.

Text {
     text: myValue ? myValue : ""
}


Regards,

Johannes

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to