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
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to