Re: [Development] [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Sylvain Pointeau
On Sun, Sep 16, 2018 at 5:24 PM Artem Sidyakin wrote: > I would understand if local file loading was allowed and remote forbidden, > but not the other way around. So if remote works, so should local. > No, a local file can be a threat if you receive it by email etc. Especially on an iOS where th

Re: [Development] [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Artem Sidyakin
I would understand if local file loading was allowed and remote forbidden, but not the other way around. So if remote works, so should local. To confirm that, I simply copied files into the app bundle (Show Package Contents) and just to be sure checked if they are “accessible”: foreach(QString

Re: [Development] [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Sylvain Pointeau
Le dim. 16 sept. 2018 à 12:22, Artem Sidyakin a écrit : > Original question was about “communication between WebView and QML on > iOS”, which does work, as we can see. > Now there is an issue of loading HTML documents from file/resource system, > but that’s a different kind of issue, innit (which

Re: [Development] [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Artem Sidyakin
Original question was about “communication between WebView and QML on iOS”, which does work, as we can see. Now there is an issue of loading HTML documents from file/resource system, but that’s a different kind of issue, innit (which I also would like to get to the bottom of). > you confirm tha

Re: [Development] [Interest] qtwebview with qtwebchannel

2018-09-16 Thread Sylvain Pointeau
> > Are you sure the WebView can load from the resources (url: > “qrc:/index.html)? > > I knew it cannot (does qrc:/ work on iOS at all?), but I was silently > waiting for someone to provide the way it should be done on iOS :) > Unfortunately no-one did, so apparently it’s a bigger problem than I >