[Development] QWebChannel setTimeout

Bernd Lamecker bernd.lamecker at basyskom.com
Fri Jul 4 13:41:28 CEST 2014


is there a special reason why you call 
setTimeout(function() { channel.exec({type: QWebChannelMessageTypes.idle}); }, 0);
(Line 179 & 197 in qwebchannel.js)
via setTimeout? For me this also works without doing a singleshot. 
But the setTimeout function is not defined when including qwebchannel.js into a qml application.


More information about the Development mailing list