[Qt-qml] Does dynamic object creation works on phones?
david.zhang.liang at nokia.com
david.zhang.liang at nokia.com
Tue Jul 13 11:21:13 CEST 2010
Hi,
I had the following code of dynamically create object and it works on PC. However, it does not work on phones. I even don’t have opportunity to check if “component== null”, which means statement in the if statement simply does not get executed.
component = Qt.createComponent("rect.qml");
if (component == null)
{
mytext.text = "component is null";
}
Thanks.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100713/26f99f82/attachment.html
More information about the Qt-qml
mailing list