[Qt-qml] Setting the source with a click on QML component

Bartosh Wroblevksy bartosh at live.com
Mon Oct 3 04:33:34 CEST 2011


> It sounds like the problem is that you're deleting the QML scene while in the 
> middle of the signal handler. 
Yes exactly that was the problem. And adding a timer to delay the slot is another good tip. In the end, we went with a top-level Loader item in the qml file and a C++ method (doit()) that changes the source property. This C++ method is triggered by a signal. Do you see any possible dangers in this?
Thanks,
Bartosh


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20111002/60c5fdcd/attachment.html 


More information about the Qt-qml mailing list