Re: [Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView

2014-08-28 Thread Simon Hausmann
On Thursday 28. August 2014 10.31.58 Sorvig Morten wrote: > > On 27 Aug 2014, at 22:02, Milian Wolff wrote: > > > > > > A synchronous API is bound to fail, see WK1 vs. WK2/WebEngine. Make it > > asynchronous and copy the WebEngine API. > > > I see now QQuickWebEngineView has: > runJavaS

Re: [Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView

2014-08-28 Thread Sorvig Morten
> On 27 Aug 2014, at 22:02, Milian Wolff wrote: > > > A synchronous API is bound to fail, see WK1 vs. WK2/WebEngine. Make it > asynchronous and copy the WebEngine API. I see now QQuickWebEngineView has: runJavaScript(const QString &script, const QJSValue &callback) So that settles th

Re: [Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView

2014-08-27 Thread Milian Wolff
On Wednesday 27 August 2014 19:42:02 Sorvig Morten wrote: > > On 27 Aug 2014, at 16:51, Milian Wolff wrote: > > > > On Wednesday 27 August 2014 14:49:08 Hausmann Simon wrote: > > > >> I'm pretty sure that all the "native" webview APIs allow for at least > >> runJavascript(string), so injection m

Re: [Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView

2014-08-27 Thread Sorvig Morten
> On 27 Aug 2014, at 16:51, Milian Wolff wrote: > > On Wednesday 27 August 2014 14:49:08 Hausmann Simon wrote: >> I'm pretty sure that all the "native" webview APIs allow for at least >> runJavascript(string), so injection may also be an easier option. > > Oh nice, I assumed without testing nor

Re: [Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView

2014-08-27 Thread Jocelyn Turcotte
On Wed, Aug 27, 2014 at 04:27:35PM +0200, Milian Wolff wrote: > Hey all, > > for Qt 5.4, the new WebChannel module will only be "easily" usable for WebKit > users. For 5.5 I plan to add WebEngine integration, if Pierre is not beating > me to it. We will simply copy the QML API, and no changes on

Re: [Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView

2014-08-27 Thread Milian Wolff
014 > Til: Milian Wolff > Kopi: Development > Emne: Re: [Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView > > On Wed, Aug 27, 2014 at 04:27:35PM +0200, Milian Wolff wrote: > > Hey all, > > > > for Qt 5.4, the new WebChannel module will only be "

Re: [Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView

2014-08-27 Thread Milian Wolff
On Wednesday 27 August 2014 16:45:29 Jocelyn Turcotte wrote: > On Wed, Aug 27, 2014 at 04:27:35PM +0200, Milian Wolff wrote: > > Hey all, > > > > for Qt 5.4, the new WebChannel module will only be "easily" usable for > > WebKit users. For 5.5 I plan to add WebEngine integration, if Pierre is > > n

Re: [Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView

2014-08-27 Thread Hausmann Simon
] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView On Wed, Aug 27, 2014 at 04:27:35PM +0200, Milian Wolff wrote: > Hey all, > > for Qt 5.4, the new WebChannel module will only be "easily" usable for WebKit > users. For 5.5 I plan to add WebEngine integration, if Pierre is n

[Development] Qt WebChannel 5.5 roadmap: WebEngine, QtWebView

2014-08-27 Thread Milian Wolff
Hey all, for Qt 5.4, the new WebChannel module will only be "easily" usable for WebKit users. For 5.5 I plan to add WebEngine integration, if Pierre is not beating me to it. We will simply copy the QML API, and no changes on the client-side HTML should be required, I think. Then, recently, QtW