Let me ask the other way around: is there a special reason why you're including qwebchannel.js in a qml application? :)
Simon Opprinnelig melding Fra: Bernd Lamecker Sendt: 19:41 fredag 4. juli 2014 Til: [email protected] Emne: [Development] QWebChannel setTimeout Hi, 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. Regards, Bernd _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
