Re: [Interest] resturn string to javascript inside QWebEngineView

2018-12-17 Thread Jason H
Souds like they are getting a Promise result from the framework and are not "await"ing for it. > Sent: Saturday, December 15, 2018 at 3:35 PM > From: "Roland Hughes" > To: "Jason H" > Cc: interest@qt-project.org > Subject: Re: [Interest] restu

Re: [Interest] resturn string to javascript inside QWebEngineView

2018-12-15 Thread Roland Hughes
g('loadProgress', loadProgress) if (loadProgress == 100) testTimer.running = true; } } Sent: Wednesday, December 12, 2018 at 3:46 PM From: rol...@logikalsolutions.com To: interest@qt-project.org Subject: [Interest] resturn string to javascript insi

Re: [Interest] resturn string to javascript inside QWebEngineView

2018-12-12 Thread Jason H
er.running = true; } } > Sent: Wednesday, December 12, 2018 at 3:46 PM > From: rol...@logikalsolutions.com > To: interest@qt-project.org > Subject: [Interest] resturn string to javascript inside QWebEngineView > > All, > > Having a massive brain

[Interest] resturn string to javascript inside QWebEngineView

2018-12-12 Thread roland
All, Having a massive brain spasm today. Can't remember how to correctly return a string from a function to javascript being run inside of QWebEngineView via QWebChannel. Long ago when I first did this we used QWebSockets but that had horrible nasty side effects and was banned from the pr